After grid.dataSource.read() in editable grid, it changes the last row with no reason

4 posts, 0 answers
  1. Izabela
    Izabela avatar
    2 posts
    Member since:
    Aug 2018

    Posted 07 Aug 2018 Link to this post

    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 datasource 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 different 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 


  2. Preslav
    Admin
    Preslav avatar
    589 posts

    Posted 08 Aug 2018 Link to this post

    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.
  3. Izabela
    Izabela avatar
    2 posts
    Member since:
    Aug 2018

    Posted 08 Aug 2018 Link to this post

    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 format is not used).

    But thanks for your time to help me with this.

    Regards
  4. Preslav
    Admin
    Preslav avatar
    589 posts

    Posted 08 Aug 2018 Link to this post

    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.
Back to Top