Hi,
I implemented a custom store where each function calls a designated service that talks to WebAPI and everything works great.
However, I noticed is that each change to a row (new,update,delete) is translated to a specific call to the server. Meaning, if I have 100 changes and I click save - my grid will generate 100 calls to the server. It's a big overhead.
So, What is the best approach for handling the batch save that sends all the data in one request ?
The way I see it, I have to use custom store. For each method in the custom store (update,create etc.) i'll have to manually manage the change, and in the end send all the datasource back to the server for further processing. I was thinking about adding a State to each row so that the server would know what was changed.
any walk-through and examples would be really appreciated.
Thanks
Ron