Hello everyone,
I'm having a strange problem with the deleteCell(Object cell) function. When my DXL program calls it, it sometimes gives a popup infobox saying "This may delete hidden objects, are you sure?" The script then pauses until the user clicks either Confirm or Cancel.
The program is synchronizing Table objects between multiple modules, and the tables may have individual cells/rows modified, created, or deleted between versions. In order to sync this, I'm creating cells and rows with the script, then filling in the data that needs to go there. Sometimes an entire row is created, and as the script goes cell by cell it may delete individual cells. When it tries to delete one of these newly created cells, it throws this infobox warning.
The program appears to work, but it requires the user to click "Confirm" manually several thousand times. The only topic on this that I managed to find was here:
The author appears to have resolved his problem by first verifying that the object he's trying to delete isn't already deleted. I'm pretty sure that isn't my problem, though, as I've added a debug print statement to let me know if the object is already deleted prior to calling deleteCell() [and it's not printing that line].
Any help, hints, or ideas would be much appreciated! brh2113 - Mon Aug 12 17:43:24 EDT 2013 |
Re: Deleting Table Cells Silently? Try using softDelete(Object) instead |