I use it when I need to change different things that influence the content of the GridControl, and that might cause sorting, painting or rebuilding of the GridControl’s DataRows.
Example: when I have a GridControl that is bound to a DataTable or DataView, I call BeginInit before and EndInit after updating the content of the DataTable. When a GridControl is bound to a DataView, and the filter of the DataView has to change, I also put it between BeginInit and EndInit, because it causes the GridControl to rebuild its DataRows.
Imported from legacy forums. Posted by Tommy (had 388 views)