Declined
Last Updated: 08 Dec 2020 07:53 by ADMIN
Christian
Created on: 02 Dec 2020 12:36
Category: Grid
Type: Feature Request
2
Grid: Parameter to auto-expand DetailTemplate on RowSelection instead of + Button

It would be good to have a Grid parameter like "ExpandDetailsOnSelection" for the Grid:

-> When the user selects a row, the DetailTemplate automatically expands - the DetailTemplate of the previous selected item is automatically collapsed

Advantages:

- no "+" button needed

- easy to integrate for 2-way-binding on SelectedItems (no need to use GridState and RowClick event)

1 comment
ADMIN
Marin Bratanov
Posted on: 08 Dec 2020 07:53

Hello all,

We have been reviewing this request and we think that coupling the RowClick event with the DetailTemplate functionality would not be the best option for the component. The way to tell the grid to expand items would, most likely, be through an ExpandedItems<TItem> collection in the grid state (instead of the current ExpandedIndexes) and using the RowClick or SelectedItemsChanged event. You can Follow the status of this here: https://feedback.telerik.com/blazor/1497361-expanded-items-in-the-grid-state.

I am marking this as "declined" because we don't think we will be implementing this. Nevertheless, feel free to add your Vote and Follow this if you do want to see such coupling between grid features.

You may also want to Vote for and Follow this feature on hiding the + button for the hierarchy: https://feedback.telerik.com/blazor/1430980-conditionally-hide-hierarchical-grid-expand-button

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.