groupby

  1. how can i get group index when i expand / collapse group ?

    2.





    in above script i am getting dynamic values from my array in each group row .

    but when i expand / collapse i can’t.

    is there any way to get these values ??




To get name when group expanding\collapsing you can use even “onGroupStateChanged”. Event handler has parameters:


value - key value of group
state - {bool} open state, true - opened


grid.attachEvent(“onGroupStateChanged”, function(value,state){
//any custom logic here
});