Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sébastien on Sep 03, 2009 00:37
open dhtmlx forum
dhtmlxGrid - display tooltip only for some cell in one column

Hello dhtmlx Team.

Is it possible to show tooltips only for cells that I want to in one column of dhtmlxGrid ?

I tried this:

<% if contact.email && contact.email != "" %>
<cell title="Send a email to <%= h(contact.firstName) %> <%= h(contact.lastName) %>" ><![CDATA[<a class="in_grid_links" href="mailto:<%= h(contact.email) %>"><%= h(contact.email) %></a>]]></cell>
<% else %>
<cell></cell>
<% end %>

but a empty tooltip is display for all empty cells instead of hiding it.
Answer posted by dhxSupport on Sep 03, 2009 00:46
You can control showing tooltips with enableTooltips(list) method where list - list of true/false values, tooltips enabled for all columns by default.
Please note that it's impossible to hide empty tooltip in IE if tooltips are enabled for this column.