Hello Guys,
I am trying to add couple of nesting DataTable like
Table1
> Table2
> Table3
Everything working fine till Table2 but if I try to expand for Table2 error occurs in console "Cannot read property 'Id' of undefined"
I have dig much into it and did noticed that same "td.child-control" click event is raised for Table1 and Table2. It should different event for both tables. What I mean here is, while expanding Table1 funtion(Table1 tbody).on('click', 'td.child-control') is invoked which work fines. For Table2 it should be invoking funtion(Table2 tbody).on('click', 'td.child-control') but it invokes Table1 function.
I haven't done any custom changes just using same "Table.cshtml" which resides in Admin/Views/Shared/
Is there any alternate way around? Or any help will be appreciated.
Thanks