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
530
InitializeRow event triggered many times
posted

I have a very simple grid (with default properties except for ultraGrid1.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.TemplateOnBottom) with a dataset as a datasource, when the user click in the grid (any cell in the add template) the InitializeRow event is fired once (that has sence),   then the user types a value, then the user click in the add templatet again and this time the InitializeRow event is fired 3 times, why 3 times?

Parents
No Data
Reply
  • 469350
    Offline posted

    InitializeRow fires any time a new row object is created and also any time any cell in that row changes. One of the main uses of this event is so that you can apply colors or other appearance settings to a row or cell based on the value in that cell. So this event will fire quite often. It is supposed to do that.

Children
No Data