Currently the DataGrid uses a GroupDescriptorCollection type for GroupDescriptors, which is not bindable (even with OneWayToSource mode). The same holds true for the Filter and Sort collections. It would be nice to follow the same paradigm as the completed RadListView feedback item here: https://feedback.telerik.com/Project/168/Feedback/Details/211065-listview-make-groupdescriptors-sortdescriptors-and-filterdescriptors-collection
<
grid:RadDataGrid.GroupHeaderTemplate
>
<
DataTemplate
>
<
Label
Text
=
"{Binding Group.Key}"
/>
</
DataTemplate
>
</
grid:RadDataGrid.GroupHeaderTemplate
>
<
telerikDataGrid:DataGridTemplateColumn
HeaderText
=
"Name"
>
<
telerikDataGrid:DataGridTemplateColumn.CellContentTemplate
>
<
DataTemplate
>
<
Label
Text
=
"{Binding Name}"
/>
</
DataTemplate
>
</
telerikDataGrid:DataGridTemplateColumn.CellContentTemplate
>
</
telerikDataGrid:DataGridTemplateColumn
>
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.
Available in the R1 2018 release.
Available in the R1 2018 release.
After items have been inserted at runtime in a DataGrid that uses grouping, visual glitches occur and upon tapping an exception is being thrown. The visual glitches may include an item overlapping a group header; missing items; duplicated items. Upon tapping an incorrectly drawn group header, an exception is thrown. Available in minor release 2017.3.1214. It will also be available in the R1 2018 release.
Available in the R2 2018 release.
The BindingContext of the RadDataGrid does not propagate to its columns. Available in minor release 2017.3.1214. It will also be available in the R1 2018 release.