Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alue on May 16, 2008 14:34
open dhtmlx forum
Use grid.cells(i, j).cell to createElement

Hi,

Can we use

var cell = grid.cells(i, j).cell;
cell.createElement("div");
cell.style.height="12px";

....

Thanks,
Answer posted by Support on May 19, 2008 05:46

The grid.cells(i,j).cell returns normal DOM element, so you can use any DOM methods against it.
Base functionality of grid will not throw any error if you put complex HTML structures inside the cells ( but this may cause issues with complex cell types: tree, sub_row, link etc. )