DataGrid: Add support for expanding/collapsing groups programatically
Currently, all groups are expanded by default. We should expose methods to collapse/expand certain groups. Furthermore, CollapseAll, ExpandAll groups should be considered as well.
Thank you for pointing out that the documentation was also missing the feature instructions. I just finished writing those instructions and submitted this Pull Request with the content. Once it gets merged, it will be live in the following documentation update.
I have updated your Telerik Points as a small token of appreciation for bringing this to our attention.
Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
I do have questions about dataview for which I will create support ticket.
ADMIN
Lance | Senior Manager Technical Support
Posted on:03 Apr 2019 14:44
Hello Sadanan,
You can now programmatically expand/collapse groups using the DataView of the RadDataGrid.
Here's en example:
var dataView = DataGrid.GetDataView();
dataView.ExpandAll();
dataView.ExpandGroup(use the IDataGroup reference here);
dataView.ExpandItem(use data item's object reference);
dataView.CollapseAll();
dataView.CollapseGroup(use the IDataGroup reference here);
dataView.CollapseItem(use data item's object reference);
If you have any further questions or need assistance using the DataView, please open a Support Ticket and share the relevant code so that we can directly assist.
Feature Request Status
I will inform the developer team to review this Feature Request to see if it needs to be updated. I apologize for any inconvenience this may have caused.
Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
Sadanan
Posted on:03 Apr 2019 12:00
I was actually looking for this feature and now surprised to find this request pending since years. I should probably stop looking for it and move ahead because it isn't in your priorities :(