Skip to main content
Brainy
Jul 17, 2024 10:53 PM UTC
Solved

need help for nested list data Updation

hi, 

I have an editable grid and save the selected rows in the a variable local!selectedrows,

has fields {id:1, name:"test1, age:"60"

                 {id:2,name:test1,age:"70"}

have another variable 

local!displayitems has a nested list . 

  {id:2,name:test1,age:"70"} is present inside the second index and 5 th item 

 

please suggest how to write code for this.  my intent is i have to update the selected Row into the display items by indexing it upon button click.

    konduruc733182
    Inspiring
    Aug 25, 2024 4:52 AM UTC

    Could you please explain what does this variable do? Is it used the grids data? Also please explain more about your issue. Understood the part you want to update a particular set of data but what exactly is the variable that you are trying to update. 

    local!displayitems has a nested list . 

      {id:2,name:test1,age:"70"} is present inside the second index and 5 th item 

    3 replies

    kumara0180
    Participating Frequently
    Aug 24, 2024 10:46 PM UTC

    were you able to implement this ? if not could you please explain your problem in bit more detail

    stefanhelzle0001
    Brainy
    Aug 25, 2024 7:48 AM UTC

    Can you help us understanding what the expected output is?

    konduruc733182
    Inspiring
    Aug 25, 2024 4:52 AM UTC

    Could you please explain what does this variable do? Is it used the grids data? Also please explain more about your issue. Understood the part you want to update a particular set of data but what exactly is the variable that you are trying to update. 

    local!displayitems has a nested list . 

      {id:2,name:test1,age:"70"} is present inside the second index and 5 th item