Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
InitializeRow event not firing
posted

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

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children
No Data