Hi all,
I have a grid that loads data on demand. I need to customize the rows and cells as I am loading the data. I was doing this in CellDataRequested event but ran into some strange painting issues.
I tried using the InitializeRow event but this doesn't seem to fire for grids that are loaded on demand. Is this true or am I doing something wrong?
Thank,Matei
Hi Matei,
mateidorobantu said:I have a grid that loads data on demand. I need to customize the rows and cells as I am loading the data. I was doing this in CellDataRequested event but ran into some strange painting issues.
Accessing the grid rows or cells from within the CellDataRequested of the UltraDataSource is probably not a good idea. I can see why this might cause some painting issues.
mateidorobantu said:I tried using the InitializeRow event but this doesn't seem to fire for grids that are loaded on demand. Is this true or am I doing something wrong?
That is not correct. InitializeRow fires whenever the grid creates a row or any time a value in the row is changed. Loading the data rows on-demand makes no difference.