Categories | Question details Back To List | ||
Subgrid Style Is it possible to set a subgrids style to be different than the parent grid? Answer posted on Mar 10, 2009 02:29 Yes, it's possible. If you are loading subgrid via xml you can set
grid's style directly into xml. You should add following lines into you
xml:
<head>Please see more examples here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/initialization_loading/pro_config_ext.html Also you can change subgrid style on the fly using "onSubGridCreated" event: grid.attachEvent("onSubGridCreated",function(sub,id,ind,value){ //sub - subgrid object //value - value from XML for related cell |