Redefine data packet in Kendo UI grid edit popup

2 posts, 0 answers
  1. Rasika
    Rasika avatar
    18 posts
    Member since:
    Jul 2015

    Posted 24 Jul 2015 Link to this post

    I think this is an advance topic in Kendo UI. I have a Kendo UI grid and I added a custom edit popup to update the data in the grid.
    My data packet like this :

     

    {
     fieldOne : "valueOne";
     fieldTwo : "valueTwo";
     fieldThree : [{a : "someValue", b : "someValue"},{a : "someValue", b : "someValue"}]
    }
     

     In edit popup I will edit this data. But I have a new requirement that add a new value to fieldThree. My new Data packet will look like this...     

     {
      fieldOne : "valueOne";
      fieldTwo : "valueTwo";
      fieldThree : [{a : "someValue", b : "someValue"}]
     }

     

     

     

    What I have done is I made a custom popup and custom fields for that. But my question is how I redefine the data packet to above one ?? In Kendo UI it will only update existing values...

     

  2. Rasika
    Rasika avatar
    18 posts
    Member since:
    Jul 2015

    Posted 24 Jul 2015 in reply to Rasika Link to this post

    I am really sorry about the formatting above post and I try to edit that but I could not find the way to do that and also there is mistake in my post.
    So I put that question to stackoverflow.

    please refer that question

    Thanks in advance 

     

Back to Top