DataGrid: Add support for expanding/collapsing groups programmatically
Posted on:09 Feb 2018 12:35
Could you please open an issue in the repository explaining in details the setup of the DataGrid and some steps how the issue could be reproduced?
We prefer to track the issues there as the current feedback item is for a specific functionality that could not be connected to the observed exception.
Thanks in advance.
Posted on:09 Feb 2018 12:27
Unfortunately, the latest release v22.214.171.124 breaks the code when IsCellFlyoutEnabled is set to "true" on any telerikGrid:DataGridTextColumn.
Please find bellow the stack trace.
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.UI.Xaml.Controls.Grid.DataGridColumn.PrepareCell(GridCellModel cell)
at Telerik.UI.Xaml.Controls.Grid.Commands.CellFlyoutActionCommand.Execute(Object parameter)
at Telerik.UI.Xaml.Controls.Primitives.CommandServiceBase`1.ExecuteCommandCore(Int32 id, Object parameter, Boolean searchUser)
at Telerik.UI.Xaml.Controls.Grid.RadDataGrid.CellFlyoutTimerAnimationBoardCompleted(Object sender, Object e)
Posted on:09 Feb 2018 11:26
You have been very helpful. I thank you.
Posted on:09 Feb 2018 10:50
The functionality is already part of the repository. In order to use it you need to work with the DataView of the DataGrid and through it you can invoke the ExpandGroup/Item and CollapseGroup/Methods as shown below:
The code could be found here:
Hope this helps.
Posted on:09 Feb 2018 10:41
When would this be available in the Open Source Git Hub Release please?