Thank you for the pictures provided.
In order to achieve the desired behavior, you need to alter the ControlTemplate
of the GridViewRow
element up to your needs. Generally, the RowDetails
are contained within the DetailsPresenter
. What I did in a sample project at my end is set a negative margin that equals the height of the row. This way, the Details will hide the row and the behavior will be achieved. The standard height of the row is 25, so you can apply the following change:
"0 -25 0 0"
I have attached the sample application for your reference. Please try selecting an item once you start it. Of course, as I am not sure of your specific setup, you might need to further customize the template so that it fits your exact requirement.
Please update me whether the approach suits your needs.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.