а

Treegrid enableAlterCss multi level


#1

please help me,

In document of dhtmlx has guide "
//color rows in treeGrid by level,every row level will have unique class (even_0 - 1st level, uneven_1 - 2nd level, even_2 - 3rd level, etc.)
treeGrid.enableAlterCss(“even”,“uneven”,true,true);"

but it does not be help me.

My treegrid has 3 level. I want to set one background color for each level.
example:

  • level 1: background color is red
  • level 2: background color is blue
  • level 3: background color is white

#2

unforttunately it is available to define the background color for the even/uneven levels of the treegrid.


#3

i didn’t understood the question.
Can you detail it up?
regards.


#4

sorry, my English is not good.
I want to set one background color for every level in treegrid.
And I was do it.
thanks all!
Capture|526x247


#5

unforttunately it is available to define the background color only for the even/uneven levels of the treegrid.