I am experimenting with using the EventManager to disable the InitializeRow event on the grid while I am changing the underlying dataset for my grid. I then turn the event back on when I'm finished manipulating the data. However, it doesn't seem like the rows that changed were queued up so that the InitializeRow event will fire when I turn it back on. Can anybody confirm this? Do I have to keep track of the rows that changed myself while this event is suspended?
Hi,
The EventManager prevents the grid from firing the event. It doesn't queue up the events and fire them later. So you would have to keep track of that yourself.
Or... you could call grid.Rows.Refresh(FireInitializeRow) which would re-fire the InitializeRow event for all rows in the grid.
Thanks for the super-quick reply, Mike! That's the information I needed.