Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve O'Halloran on May 14, 2009 13:51
open dhtmlx forum
TreeGrid 2.1 : Can Each Node level have a unique Style?

We're using TreeGrid 2.1 to create a 3-tier dataset (i.e. Country, State, City)

Is it possible to assign a specific Font Style (Weight, pointsize) to a specific tier within the DHTMLgrid.CSS rather than declaring the style within the XML file ?? (we'd like to keep the XML file small since the data set is quite large to begin with).


I've been reviewing the documentation on the Treegrid but can't seem to spot that functionality.

Can it be done?


TIA

Steve
Answer posted by dhxSupport on May 15, 2009 01:13
Unfortuanalety dhtmlxgrid.css file doesn't consist styles for the each level. It consist style for the whole grid. If you need to change style for the specific row or cell you shoud attach class name to it. Please see more information about grid appearance here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Creating_custom_skin.html#grid_cust_skin