-
Is there any built in Expand/Contract button for showing and hiding the DetailRowTemplate data instead of clicking on the row and checking the DetailRowTrigger result? If not, are there any workarounds for having one or are there plans to have it as an option in the future? Most data grids have this type of functionality and I think this is one of the only features the Blazorise DataGrid is missing. Thanks! Jeff B. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The detail row is activated with DetailRowTrigger="@((item)=>item.Id == selectedEmployee?.Id && somethingElseOnYourPage == true)" |
Beta Was this translation helpful? Give feedback.
-
Thank you for the tips on how to implement the functionality! I will give it a try. |
Beta Was this translation helpful? Give feedback.
The detail row is activated with
DetailRowTrigger
callback. Meaning you can check for anything inside of it and as long as it returns true it will show the detail row.