Categories | Question details Back To List | ||
Getting the HTML element for various DHTMLxGrid objects I discovered that mygrid.cell will give me the HTML element for that cell. Are there equivalent properties that will return the HTML element (or HTML ids) for following objects? - a row - a column - a column header I want to do some advanced DOM manipulation of these, so I need to get the HTML elements or HTML ids. Thanks for your help! Answer posted by Support on Jun 23, 2008 01:35 >>- a row
var row = mygrid.getRowById(ID); >>- a column there is no such entity as columns but you can get any cell in grid as grid.cells(row_id,cell_index).cell >>- a column header var grid_header = grid.hdr var row_in_header = grid.hdr.rows[1]; var cell_in_header = grid.hdr.rows[1].cells[index] |