Hello,
My tooltips works just fine on “normal” column types, but not Link types. There I get either the link address or nothing.
Is this a known problem or am I doing something wrong?
Here’s my Init code:
mygrid = new dhtmlXGridObject(‘grid_container’);
mygrid.setImagePath("{{ STATIC_URL }}dhtmlxGrid/dhtmlxGrid/codebase/imgs/");
mygrid.setHeader(“Title,Length,Created,Rating,Description,Rating,Stars,Reviews,Categories,Actors,Directors”);
mygrid.setInitWidths(“200,50,50,50,300,50,50,100,100,100,100”);
mygrid.setColAlign(“left,right,right,right,left,right,right,left,left,left,left”);
mygrid.setColTypes(“link,ro,ro,ed,ro,ro,ro,ro,link,link,link”);
mygrid.setColSorting(“str,int,int,int,str,str,int,str,str,str,str”);
mygrid.enableMultiline(true);
mygrid.setSkin(“dhx_skyblue”); // theme
mygrid.loadXML("/get_program_data/");
mygrid.enableSmartRendering(true);
mygrid.init();
mygrid.enableTooltips(“false,true,false,false,false,false,false,false,false,true,false,”);
mygrid.attachEvent(“onXLE”, setGridCount);
mygrid.attachEvent(“onMouseOver”, onMouseOverActors)
var dp = new dataProcessor(’/update_program_data/’);
dp.init(mygrid);
dp.defineAction(“error_of_datastore”,handle_error_of_datastore);
And here’s the XML file:
<?xml version="1.0" encoding="UTF-8"?> {{ total }} {% for i in data %} {{ i.title }} {{ i.length_minutes }} {{ i.created }} {{ i.my_rating }} {{ i.descr }} {{ i.r_rate }} {{ i.s_rate }} {{ i.review }} {{ i.categories }} {{ i.actors_short }} {{ i.directors }} {% endfor %}