1

I use the jqGrid TreeGrid functionality. Is it possible to use the multiselect functionality with TreeGrid? If not, is there a workaround for this?

I would like to have something like when the top level is checked/unchecked and sub level is open all sub levels should be checked/uncheked automatically.

Thanks.

Norbert Tamas
  • 4,464
  • 5
  • 23
  • 28

1 Answers1

1

What you can do is to create additional column having formatter:'checkbox' with formatoptions:{disabled: false} and simulate the multiselect functionality in your own code. You can see the demo from the answer as the starting point. The usage of onCellSelect could be probably also helpful for you. Another answer could help you to do some additional actions on expanding of nodes.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798