check box for nested tables

check box for nested tables

SiddiqSiddiq Posts: 6Questions: 3Answers: 0
edited August 2016 in Free community support

Hi.,

I have check box on the header of the table if I select the checkbox all rows get selected that is working fine for me.

I also have a inner datatable that shows up when click on the 'detail-control' which has the checkbox to all rows.

I am getting the closest('tr') to get the value of the row and get the desired value of the row.

==The problem is every time I click the last row I get the below error.=== and also I get the wrong row value if there are mulitple rows for outter datatable.

Cannot read property '_aData' of undefined

Can anyone please help., If there is an example where there are checkbox for outer table and inner table that would be great.

1.png 37.5K

Answers

This discussion has been closed.