Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James Snyder on Apr 14, 2009 12:33
open dhtmlx forum
Title tag in .addRow

This one should be easy, but so far no luck

We would like to use the TITLE tag of a url to display some additional information. However when we are adding the row the title info never displays

Attempt 1:
sURL = "<a href='#' style='color:#81a032;font-family:Arial;font-weight:bold;font-size:9pt;height:15px;text-decoration:none;' title=test onclick='showItemDetails(250);'>"+sItem1+"</a>"

Attempt 2:
sURL = "<a href='#' style='color:#81a032;font-family:Arial;font-weight:bold;font-size:9pt;height:15px;text-decoration:none;' title='test' onclick='showItemDetails(250);'>"+sItem1+"</a>"

Attempt 3:
sURL = "<a href='#' style='color:#81a032;font-family:Arial;font-weight:bold;font-size:9pt;height:15px;text-decoration:none;' title="+sTitle+" onclick='showItemDetails(250);'>"+sItem1+"</a>"

Any thoughts?

Thanks.
Answer posted by dhxSupport on Apr 15, 2009 08:26

Add following code to the grid init:

mygrid.attachEvent("onMouseOver",function(){
  return false;
  });

Second and third attempt are correct.