Hi @ all,
is there a way to load the childbands dynamical for every single row ?
So maybe if the user double_clicks on a parent row in a Grid, the childrows will be loaded from DB and connected to that parentrow. But not for all rows in the grid, only for the one clicked (or the selected ones at click).
I don't see any way to do that with the UltraGrid, because a Relation over two tables will be load every childs !?!
One approach would be to use an UltraDataSource and the grid's Virtual mode (see the "1 million rows" sample that ships with the Windows Forms samples). Another approach that I have seen is to not populate the row in the underlying child data source until the BeforeRowExpanded event, at which point you add the relevant data.
-Matt
Hi Matt,
thanks for your answer. I will have a look at this sample. At the moment I add the rows at the doubleclick-event. But I think your hint with the BeforeRowExpanded event would be better. thanks