Treegrid enableAlterCss multi level


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.)

but it does not be help me.

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

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


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