Skip to main content
July 17, 2024
Solved

need help for nested list data Updation

  • July 17, 2024
  • 3 replies
  • 0 views

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.

    Best answer by konduruc733182

    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
    August 24, 2024

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

    stefanhelzle0001
    Brainy
    August 25, 2024

    Can you help us understanding what the expected output is?

    konduruc733182
    August 25, 2024

    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