This is a migrated thread and some comments may be shown as answers.
After grid.dataSource.read() in editable grid, it changes the last row with no reason
3 Answers 4 Views
This is a migrated thread and some comments may be shown as answers.
Izabela
Top achievements
Rank 1
Izabela asked on 07 Aug 2018, 02:10 PM
Hi, 

I have an editable (batch editing) grid with child grid binding to local data. Problem is when I editing group item and after edit do grid.dataSource.read() that it change the last group item name to this which I edit. In  its all fine (correct names) its only views like this. After reloading all grid once again data is also good. Only in the moment of editing. When I editing detail item alls go well. This problem is only on group edit.

I have no more ideas about why it happened. When I debug js all data are correct, its show correct names, and then I see  name. 
On the first screen, you can see what I mean.
On the second screen for comparison editing detail element, and it's correct.

I will be grateful if someone knows the reason why it happened.

Kind regards,
User 


3 Answers, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 08 Aug 2018, 10:45 AM
Hi,

I examined the provided screencasts, and unfortunately, I was not able to understand what might be causing the described faulty behavior.

Having said that, could you please prepare and share a runnable example that I could examine locally? This example will help me better understand the case, and I will be able to provide assistance to the best of my knowledge.

I look forward to your reply.


Regards,
Preslav
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.
0
Izabela
Top achievements
Rank 1
answered on 08 Aug 2018, 11:08 AM
Hi, 
I just resolve the problem, still don't know what cause it, but interesting was fact that only this one column change viewed value, other columns don't. Its also don't change data so this was only a visual problem. I compare it, and the only difference was other columns have set format in kendo.ui.GridOption and this one doesn't. When I add random format to it, starts working fine (and this specific column isn't editable so is not used).

But thanks for your time to help me with this.

Regards
0
Preslav
Telerik team
answered on 08 Aug 2018, 11:49 AM
Hi again,

I am glad to hear that the issue is now resolved. Thank you for sharing the workaround with the community. 


Regards,
Preslav
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
Izabela
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Izabela
Top achievements
Rank 1
Share this question
or