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
1290
Why does InitializeRow keep getting invoked?
posted

I have set a breakpoint within InitializeRow, but it keeps hitting the break point even all the rows are displayed. Why is this?

Parents
  • 12773
    Verified Answer
    posted

    Hello,

    This event is generated once for each row being displayed or printed and provides an opportunity to perform actions on the row before it is rendered, such as populating an unbound cell or changing a cell's color based on its value. The InitializeRowEventArgs.ReInitialize argument can be used to determine if the row is being initialized for the first time, such as when the UltraDropDown is initially loading data, or whether it is being reinitialized, such as when the RowsCollection.Refresh(RefreshRow) method is called. Note that when you are scrolling, editing a cells this will force to refresh your row and will rise the event.

    You can find more details here:
    http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html%5CInfragistics2.Win.UltraWinGrid.v9.2~Infragistics.Win.UltraWinGrid.UltraDropDown~InitializeRow_EV.html

    Let me know if that make the things clear.

    Sincerely,
    Dimi
    Developer Support Engineer
    Infragistics, Inc.

Reply Children
No Data