I have a grid with a master checkbox in the first column. At http://forum.dhtmlx.com/viewtopic.php?f=2&t=1518&start=0 there is a solution to manipulate the master checkbox with DOM. The line of code I use for that purpose is the following:
routeGrid.hdr.rows.cells.getElementsByTagName(“INPUT”).checked = true;
Everything works great at this point, but when I use the splitAt() function for the first 2 columns I can’t access the master checkbox correctly. I was looking the code generated by the library and there are two tables, so I don’t know how to access the first one to easy manipulate the master checkbox.
Any help would be really appreciated.