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
785
InitializeRow event and column width change
posted

Hi,

Should the InitializeRow event fire if the column width is changed within the InitializeLayout event?
I was under the impression that the event would fire only if the cell data was changed.

Thanks
Annie

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Annie, 

    The event is specifically designed to allow you to apply an appearance or perform a calculation in a row based on the data in that row. So it fires once initially when the row is first instantiated by the grid and also when data is changed in the row. 

    I can't see why changing the column width would cause it to fire, unless maybe changing the width of a column causes the rows to get created. If you are auto-sizing the column, for example, it has to load the data from the cells, which will force the creation of the row.

Reply Children
No Data