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

hasChanges for DataSource

2 Answers 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neeraj
Top achievements
Rank 1
Veteran
Neeraj asked on 17 May 2019, 09:12 AM
I have used hasChanges() to detect dirty flag in dataSource. But it behaves in strange way when we have 1 row inside Grid and if i we delete that still hasChanges() return false. 
              I have created DOJO demo https://dojo.telerik.com/alOHiyOV  
      What is official solution

2 Answers, 1 is accepted

Sort by
0
Neeraj
Top achievements
Rank 1
Veteran
answered on 17 May 2019, 11:25 AM
this demo is using my data. there is some error occuring.    https://dojo.telerik.com/UjUyaWeC
0
Tsvetomir
Telerik team
answered on 20 May 2019, 02:42 PM
Hi Neeraj,

Thank you for the provided information. I have already responded to the same in a duplicate forum thread which you might find here:

https://www.telerik.com/forums/haschanges-works-incorrectly

It is recommended to not submit duplicate threads as this would lead to having a hard time maintaining your own history. For instance, if you would like to get a reference to a past ticket. 

In case there is a need for further clarifications, respond back to either this thread or the one that I have shared above.


Kind regards,
Tsvetomir
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Neeraj
Top achievements
Rank 1
Veteran
Answers by
Neeraj
Top achievements
Rank 1
Veteran
Tsvetomir
Telerik team
Share this question
or