- changed status to open
Disable calls to Changed when adding many objects to TObjectList
Issue #229
closed
I'm using the TObjectDataset with a Spring TObjectList. When adding a lot of objects to the list the Index is rebuild after every insert. Its a lot faster is you set the onChanged.Enabled to False, but how do i get it to rebuild the index when setting the onChanged.Enabled back to True?
Maybe the TObjectDataset.DisableControls and EnableControls should also set/reset this property to speed things up?
Comments (6)
-
repo owner -
repo owner - changed milestone to 1.3
- changed component to ObjectDataSet
-
repo owner - changed version to 1.2
-
repo owner - removed milestone
-
repo owner A call to Refresh should cause the index to be rebuilt.
-
repo owner - changed status to closed
- Log in to comment