dhtmlxgrid initialize from html table - how to set id

I initialize from HTML table such as:





var mygrid = new dhtmlXGridFromTable(‘tblToGrid’);

mygrid.setSkin(‘light’);

mygrid.submitOnlyChanged(false);





after submitting, i receive values like:

[cgrid2_1211562594703_tblToGrid_9_4] => xxx



How could I define the id of the grid?

You can define ID by next command

mygrid.entBox.id = “custom”;

( in next version we will add functionality to take ID|name of existing table )