Populating a datagrid using a checkbox button from another datagrid

What I’m trying to do:
Hello, I am trying to create two datagrids with repeating panels, to which the first table shows all the data from a dictionary along with a final column having a checkbox where the user can confirm the record being shown is correct.

I’ve connected an event-handler, in my first grid’s repeating-panel’s row-template, to its checkbox’s change event. My event-handler function first checks to see if the box is checked. If it is checked, then it creates a list of dict ionaries, and assigns it to the second grid’s repeating-panel’s items property, thus populating the second grid.

I have not found any documentation on this, has anyone else got any ideas?

What I’ve tried and what’s not working:
I have created the two data grids with the same repeating panel design but I am unable to find code on how to get the two datagrids to interact.

Thank you for your time,
Paige

I might rewrite this as

I’ve connected an event-handler, in my first grid’s repeating-panel’s row-template, to its checkbox’s change event. My event-handler function first checks to see if the box is checked. If it is checked, then it creates a list of dictionaries, and assigns it to the second grid’s repeating-panel’s items property, thus populating the second grid.

You might not find existing code to do something this specific. But if you outline what needs to be done, step by step, then I find that the code almost writes itself. (Not counting the research needed to identify and specify those steps.)

1 Like

Hello,

Thank you for the feedback, your suggestion makes sense to me!

Best,
Paige

1 Like