4 Answers, 1 is accepted
You can detect when the Grid enters and exits edit mode via the widget events (cancel, edit, save):
Probably the easiest option is to check whether the Grid contains edit cells:
Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.
Thank u for replying.
but using $("#GridID").find(".k-edit-cell").length i am not getting my edited cell count
insert of finding .k-edit-cell class i just find .k-dirty-cell then it get actual number of edited cell count.
Looking at the thread content so far, it seems that there has been misunderstanding about what "whether my data is edited" means (i.e. "is in edit mode" or "has been modified"), but obviously Fajleabbas has managed to find a solution that works for him. Another possible way is to use the hasChanges() method of the Grid dataSource. It will return a boolean value that indicates whether there are modified data items that have not been synced (saved) yet.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.