Is there a way to implement alternative line CSS at the child level of a tree grid?
At present, the stripro configuration configs only make everything gray and white on the trippanel, but it is difficult to separate the hair lines from the original rows
Ideally, One way and hair lines, alternate colors will be created in another way.
I was thinking of writing the function using the "GetRowClass" method to manually update the row class if I was wondering if there was a cleaner way.
getRowClass looks good to perform row line explains responsible. You can get the depth of a node with getDepth () function: and use CSS: < / P> get solution
.node-dept-1 .x-grid-cell {background-color: white;} .node-depth-2 .x-grid-cell {background-color: #dddddd;} ...
Comments
Post a Comment