Modifying datatable data
Modifying datatable data
We use data table in the following we way. We use Aurelia (a javascript framework) to bind an array of objects to a table element with id Datatable1. We then use jquery to get reference to that element and apply DataTable function with drawCallback to create a grouping header. When the array of objects gets updated we call the draw function on the table element but for some reason the updated object row gets moved to the first row and not under its specific group header. I figured that the datatables.net-rowgroup extension might fix this but I have no idea how to import this into my javascript file. I will be grateful with any ideas or assistance. Thanks.
Answers
Details on how to use the RowGroup extension are available here. Beyond that, without a test case showing the issue and your code, I'm not sure that there is much else I can say?
Allan