I have read the WinGrid Performance Guide, and I still have a few questions.
I have a grid bound to an UltraDataSource.Does calling ultraDataSource.SuspendBindingNotifications() have the same effect as calling ultraGrid.BeginUpdate() and SuspendRowSynchronization()?Should I do both, or stick to one or the other?
When setting cell values on the dataSource, is there a performance difference between any of the following variants:
ultraDataRow[integerColumnIndex] = someValue;ultraDataRow[stringColumnKey] = someValue;ultraDataRow[ultraDataColumn] = someValue;
ultraDataRow.SetCellValue( integerColumnIndex, someValue );ultraDataRow.SetCellValue( stringColumnKey, someValue );ultraDataRow.SetCellValue( ultraDataColumn, someValue );
According to the docs the 2-arg SetCellValue overload (above) does not raise cell update events.Can somebody verify this? Does the [] indexer approach raise cell update events?
Thank you!
Hello,
Did Brian's post answer your question? If so, please verify it so other users with the same question can find the answer.
dnm240 said:Does calling ultraDataSource.SuspendBindingNotifications() have the same effect as calling ultraGrid.BeginUpdate() and SuspendRowSynchronization()?
dnm240 said:Does the [] indexer approach raise cell update events?