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

Feature Request: More Events

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 29 Jun 2012, 08:51 PM
Hello,

I would like to request that you guys add an event after a Grid Save ajax call completes successfully. I need to be able to synchronize the contents of two grids (when one updates, the other fetches new data) and right now there is no event I can call that isn't super chatty (meaning it also fires at times other than when the data source changes).

Preferably like a SaveCompleted event or something like that.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 02 Jul 2012, 09:08 AM
Hi Robert,

Thank you for the suggestion. At this stage the implementation of such event is still not scheduled, but this idea sounds really good and I will suggest to send it as a feature request at our UserVoice forum. This way the community would be able to vote and comment it - its implementation depends on the users feedback and the number of votes. 

Meanwhile, for your scenario you could use the change event of the dataSource which fires when the data is changed. 
 

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robert
Top achievements
Rank 1
answered on 02 Jul 2012, 03:59 PM
As I mentioned, the change event is too chatty. It doesn't send back what type of change event happened, so you can't filter for specific types of changes. If I called $("#otherGrid).dataSource.read() every time the Change event fired, I'd be reading in the same information over and over again about 8x more then actually necessary.
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Robert
Top achievements
Rank 1
Share this question
or