there are annoying problems when the row details is used in a GridView. These can be seen from the online demo for RadGridView
- Go to the last row of the GridView.
- Open the row details (note that you had to scroll to see the content!!!)
- Select the Performance Chart tab.
- Scroll up then down: the Details tab is displayed.
In this scenario, there are two problems:
- We have to scroll the grid after the row details is open in order to view it.
- When the details are scrolled out of view, they are initialized again.
For the first problem, you should scroll automatically the grid so that the details are visible. if the details are too high, leave the original row to the top.
The second problem is more annoying: sometimes I had the row loading again without scrolling it out of view: for example, take the scroller at the right and move it gently to the top; suddenly the row details are reinitialized even if they are still displayed...
I think a good solution would be to have a EnableRowDetailsVirtualization
property, that has a default value to true
for compatibility purposes and, when set to false
, will keep the details for each row and never reload them.