PDA

View Full Version : Alternative for getRowClass in Tree Grid



rakesh.mmp
27 Mar 2015, 5:38 AM
Hi,

I want to apply css class to tree nodes in a tree grid.I am using Sencha Architect and ext-js 4.2.1
In the tree viewConfig there is no option to add getRowClass which is present for gridPanel.

Is there another way or alternative for this and i would want to apply css class dynamically.

Thanks & Regards
Rakesh

guilherme.lopes
30 Mar 2015, 11:54 PM
Hi,

getRowClass should work for the Tree Panel the same way it works for grids.
Check this fiddle:
khl