0

I am loading data for child nodes from server side on expanding the row. I wanted to display the 'ui-icon-radio-off' icon for children at the last level, currently it is displaying downward triangle as I set loaded: true, expanded: true. Is it possible to change this icon to 'ui-icon-radio-off' as shown in the attachment below...

varaprakash
  • 487
  • 4
  • 12
  • 30

1 Answers1

0

I suppose that the problem is the data which you used to fill the tree grid. The data should include the values of hidden columns. The column isLeaf defines whether the row is a tree node or a leaf. The rows which has isLeaf: true will be displayed with 'ui-icon-radio-off' icon.

You can find more details and example here, here, here or for example here.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798
  • Thank you Oleg. I have already defined isLeaf property in my Java bean and set the value to true but I guess it is coming as leaf: true instead of isLeaf: true, I just changed the setter method and it is coming properly now. Thanks again... – varaprakash Feb 25 '12 at 21:04
  • [Oleg](http://stackoverflow.com/users/315935/oleg): Could you please check my question on [grouping row data](http://stackoverflow.com/questions/12200621/jqgrid-grouping-row-level-data) – varaprakash Aug 30 '12 at 19:37