Fórum

Search Container Tool Tip

rayvanth challa, modificado 7 Anos atrás.

Search Container Tool Tip

New Member Postagens: 23 Data de Entrada: 22/01/16 Postagens Recentes
I had created a search container and able to display data in it.

But when I mouse over on my header column I have to show a tool tip. Can anyone please help me on this? How can we display a tooltip on search container header column?
thumbnail
Ravi Darji, modificado 7 Anos atrás.

RE: Search Container Tool Tip

Junior Member Postagens: 56 Data de Entrada: 14/05/14 Postagens Recentes
Hi rayvanth challa,

You need to add title attribute in particular html tag.
or if you can't able to access jsp then add title attribute using jQuery.

Thanks & Regards,
Ravi Darji
+91 846 077 3036
rayvanth challa, modificado 7 Anos atrás.

RE: Search Container Tool Tip

New Member Postagens: 23 Data de Entrada: 22/01/16 Postagens Recentes
Hi Ravi,

Thanks for the quick reply, I had tried it before like this

<liferay-ui:search-container-column-text href="<%=searchResultGridRowURL%>" name="<%=gridColumns.get(0)%>" title="<%=toolTips.get(0)%>" value="<%=(serNotification == null ? "" : serNotification)%>" />

I am able to get the tooltip when i hover on the row data, instead of a column header.

I need to show tooltip on mouse hover of header column text.

Thanks in advance
thumbnail
Ravi Darji, modificado 7 Anos atrás.

RE: Search Container Tool Tip

Junior Member Postagens: 56 Data de Entrada: 14/05/14 Postagens Recentes
rayvanth challa:
Hi Ravi,

Thanks for the quick reply, I had tried it before like this

<liferay-ui:search-container-column-text href="<%=searchResultGridRowURL%>" name="<%=gridColumns.get(0)%>" title="<%=toolTips.get(0)%>" value="<%=(serNotification == null ? "" : serNotification)%>" />

I am able to get the tooltip when i hover on the row data, instead of a column header.

I need to show tooltip on mouse hover of header column text.

Thanks in advance


Hello rayvanth challa,

<liferay-ui:search-container-column-text> will for column, it will not contain header of the search container.
if you want to do changes in tag then you need to create hook for it.

Thanks & Regards,
Ravi Darji
+91 846 077 3036