Foren

Search Container Tool Tip

rayvanth challa, geändert vor 7 Jahren.

Search Container Tool Tip

New Member Beiträge: 23 Beitrittsdatum: 22.01.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Search Container Tool Tip

Junior Member Beiträge: 56 Beitrittsdatum: 14.05.14 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Search Container Tool Tip

New Member Beiträge: 23 Beitrittsdatum: 22.01.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Search Container Tool Tip

Junior Member Beiträge: 56 Beitrittsdatum: 14.05.14 Neueste Beiträge
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