How to control a checkbox inside a nested table created with a subcomponent in React-table v8
When a checkbox is checked in a child subTable, I want those values to be applied in the parent row column. But I can't think of a way to do it. I need help...
I used expending and sub component together in React-table v8 to create the code below.
The problem is that when I check the checkbox in the corresponding parent row column, the table inside the sub component also displays the
indeterminate, checked, onChange
etc events should be triggered as well.
Since I have a lot of row data, it seems difficult to use state as well, is there a good way?
link : https://stackoverflow.com/questions/76832476/how-to-control-a-checkbox-inside-a-nested-table-created-with-a-subcomponent-in-r
Stack Overflow
How to control a checkbox inside a nested table created with a subc...
enter image description here
When a checkbox is checked in a child subTable, I want those values to be applied in the parent row column.
But I can't think of a way to do it.
I need help...
I used
0 Replies