Categories | Question details Back To List | ||
row and table ids in dthmlxGrid Sorry to bombard you with questions. I promise this is the last one for tonight. Part two of my other question regarding cell ids... I noticed that the ids of the rows do not show up on Firebug. Are they real HTML ids? Or are they internal dhtmlxGrid ids? Regardless of the method I use the create my grid, can I set html ids to each cell (including the column headers), each row (including the header row), and the whole table? e.g. <table id="myTable"> <tr id="firstRow"> <td id="firstCell"> ... Thanks, Ever Answer posted by dhxSupport on Jun 09, 2009 00:42 >>I noticed that the ids of the rows do not show up on Firebug. Are they real HTML ids? Or are they internal dhtmlxGrid ids? Row ids is an internal dhtmlxGrid property. Please check this article http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=9854 Answer posted by Ever on Jun 09, 2009 10:45 Thanks. Is there a way to attach an HTML id to the table and to each row? As for the cells, I think we're fine with the c_N_N format. But if we could use our custom ids too, that would be great. Ever Answer posted by Support on Jun 10, 2009 01:41 You can use grid.attachEvent("onRowCreated",function(id,r){ r.setAttribute("id",id); }) it will set native html ID attribute, with row's ID value |