Add 2 different update methods in one grid

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

    Posted 24 Jul 2015 Link to this post

    I have web service that return a json object like this 

    {

         fieldOne : "valueOne",

         fieldTwo : "valueTwo",

         fieldThree : "valueThree",

         fieldFour : [{innerFieldOne : "iValueOne" , innerFieldTwo : "iValueTwo" }]

    in fieldFour array some times it will not contain objects. It can be contain maximum 4 objects.

     

    What I want is in the grid add a new button and give a availability to update fieldFour. I need a new popup to edit and delete to fieldFour values beside default edit popup.(simply I need default edit popup and fieldFour edit popup) In that fieldFour edit popup can I add and remove the object ??
    Ex : if I add a object to fieldFour it will look like this.... 

            fieldFour : [{innerFieldOne : "iValueOne" , innerFieldTwo : "iValueTwo" } , {innerFieldOne : "iValueOne" , innerFieldTwo : "iValueTwo" }]

     

    Can this do in using Kendo UI Grid ??

  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1442 posts

    Posted 29 Jul 2015 Link to this post

    Hi Rasika,

    This behavior is not supported out of the box. You can get similar results using either a custom popup editor template or an external editing form. The latter could be shown in a Window widget that is opened upon clicking a custom command.

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top