Grouping changed event

Posted by: pulsman on 2 November 2017, 1:17 am EST

    • Post Options:
    • Link

    Posted 2 November 2017, 1:17 am EST

    Is there any event that I can catch in javascript or jquery about a change in the group panel of the flexgrid? I would like to be able to retrieve in code the columns used for grouping after a user drag/drop any new grouping.

  • Posted 2 November 2017, 4:27 pm EST

    Hi,

    The groupPanel items changed can be get using groupDescriptions collectionChanged event. Please refer to the following code snippet for the same;

    flex1.collectionView.groupDescriptions.collectionChanged.addHandler(function(s,e){
    	console.log("Group Collection Changed");
                });
    

    ~Manish

  • Posted 2 November 2017, 9:46 pm EST

    Thanks. I can then retrieve the properties with flex1.collectionView.groupDescriptions[i].propertyName

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels