Force a checkbox to recheck if DT updated

I have 2 tables. The top table has a list of meals and a checkbox if they have been paid. If you click this it updates the database.

The bottom table list all the names once and will sum the cost of all the meals for that person (not wrote that logic yet)

In the second table if i check ‘Pete’ the data table checks both meals assigned to Pete, but I’m not sure how to force the first table to request the data from the DT again so they show as checked.

image

Hello @Peter_Wilson,

in order to help you, I need more information about how your logic is built currently.

Of course Stanislaw

The 2 tables are built in repeaters


In the top table, the one i want to update, if the DT cell is updated I have the following code that updates the single item on change and the Check State Logic bound to ‘Paid’

In the bottom table I have the below code and the Check State Logic also bound to ‘Paid’.
I haven’t yet worked out how to update the where clause to take the payee property so it is hardcoded for now.

Solved it.

1 Like