Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yash on Jan 03, 2008 07:19
open dhtmlx forum
How to Set Name of the Table using dhtmlxgrid

Hi,

How we can set the name of the WebTables. I am working on a Web Application(HTML/JavaScript). This application has a lot of webtables. Name of each table is "WebTable". When i asked about team members, they say its controlled by dhtmlxgrid. So is there a way to set the name of dynamic WebTables when created using dhtmlxgrid.

Thanks,
Answer posted by Stanislav on Jan 04, 2008 05:57
Actually it not possible by existing API. Basically the grid generate few tables to maintain its structure, if you just need to set the name ( or some other attribute ) for table which contains data of grid it can be done as

    var grid = new...
    ...
    grid.init();
    grid.obj.setAttribute("name")="any_custom_name";