This is a migrated thread and some comments may be shown as answers.

Prevent options.success() from resetting cell selector back to first column

0 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Edmond
Top achievements
Rank 1
Edmond asked on 18 Sep 2012, 03:18 PM
I'm using autoSync:true so I can sync with the database after each cell update, but each time I call options.success() it resets the cell selctor to the first column of that row. If I don't report to the dataSource that the request has completed, it causes some strange behavior where clicking on the "Delete" button twice when there's a server error and a cancelChanges() on an error callback ends up deleting the record.

It looks like options.success() repaints the entire grid. How can I prevent this from happening?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Edmond
Top achievements
Rank 1
Share this question
or