jQuery DataTables plugin for rendering nested DataTables in rows. Inner tables are independent of the data and layout from the outer table.
Hi, I am fetching data from api and assigning it to nested data table by using following function. function createTree(data) { var settigns = { iDisplayLength: 5, bLengthChange: true, bFilter: true, bSort: true, bInfo: true, }; var table = new nestedTables.TableHierarchy( "treetable", ajaxData, settigns ); table.initializeTableHierarchy(); } So for the first time I am able to see the nested data table and all rows are getting expanded but after 30 Sec I want to update the nested table so I am calling the same function with new data. At that time I am getting below error. Uncaught TypeError: Cannot read properties of undefined (reading '0') at DataTable.fnOpen (jquery.dataTables.js:667:1) at HTMLTableRowElement.eval (NestedTables.js:151:1) at HTMLDivElement.dispatch (jquery.js:5206:1) at elemData.handle (jquery.js:5014:1) Please let me know how can i fix this error.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by mangenayan and has received 1 comments.