Discuss anything related to web development but no technical support questions


Post by Vitaliy Nesterenko »

I impemented copy/paste of tasks and when many tasks are inserted it takes time to refresh parents. I need to show some visual progress. Insertions are done rather fast, but subsequent refreshes are slow, and i can not track them becasuse they are asynchronous. I know, there is a sync method with callback called after stored is synced. But it is called inside gnt-debug code. Is there a method to track store sync is done other than callback in sync method ?
I tried some store events but they are fired before sync is done, and i need somthing fire after sync.

Post by mats »

How are you copy pasting?

To get a sync notification, listen to 'sync' on your store.

https://docs.sencha.com/extjs/6.0.0/mode ... ethod-sync

Post by Vitaliy Nesterenko »

When ctrl-c is pressed i store selected records (or selected field) in local storage, and after ctr-v is pressed, either add stored records as child nodes or put only stored fields to the currently selected fields.

Post by mats »


Post by Vitaliy Nesterenko »

I've also found, that CrudManager has 'sync' event.

Post Reply