Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by josh on Jun 29, 2009 18:28
open dhtmlx forum
dhtmlxgrid

hello,

question regarding dhtmlx grid:

1) what css style should i override to change the row highlighting style? I want do not wish to do a background color change of the row but instead change the border color of the row and even add some sort of glow effect...how can i do this?

2) is it possible to put complex html dom into dhtmlx grid cells? For example, inside a cell in a grid, can i put say another custom table layout?


thanks a lot for your great library,

j
Answer posted by dhxSupport on Jun 30, 2009 01:53
1) You can change style of the selected row using following css:
div.gridbox table.obj tr.rowselected td {} -  elements in a selected row
div.gridbox table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected {} - element in a selected cell
Please find more information about custom skins creation here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Creating_custom_skin.html#grid_cust_skin
2) Any html can be stored inside CDATA:
<cell><![CDATA[ <input type='button' value='any' />]]></cell>
Also you can create custom eXcell type. Please find more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_excell_creation.html#grid_cexc