Skip to main content
17-Peridot
October 3, 2022
Question

auto selection of rows in tree grid

  • October 3, 2022
  • 2 replies
  • 873 views

There are 2 tree grids in container. If i selected 8th row in first grid, automatically 8th row in second grid should get selected and vice versa. How to do this?

2 replies

22-Sapphire I
October 4, 2022

It is rather dangerous to do what you propose as you could be 'ping-pong' ing back and forth in an infinite loop if one sets the other and vice versa.

I'd advice to find a different approach, or account for this potential issue.

 

The Grids depending on which one you are using will have 'Selected Items' or Rows and the data source will have Selected Rows

You can use these to do what you are looking to do.

15-Moonstone
November 2, 2022

Hi,

 

To provide solution, need more clarity on the use case.

But auto selecting 2 different grids possible if same output infotable is bound from single service output ( Note: 2  grid can show different columns but output should be from single service).

 

Hope this Helps !!