Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ever on Jun 08, 2009 18:47
open dhtmlx forum
Cell ids

I just noticed the individual cell ids (e.g. <td id="someId">) are removed when I convert my HTML table into a grid. Is there any way to preserve them? Or, if I were to load the data some other way (e.g. from a JS array or XML), is there a way to specify cell ids? We need them for automation purposes.

Thanks,
Ever
Answer posted by dhxSupport on Jun 09, 2009 00:39
To enable cell ids you can use method mygrid.enableCellIds(true) - method enable/disable unique id for cells (id will be automaticaly created using the following template: “c_[RowId]_[colIndex]”)