[SearchPanes]: API initialisation with nested tables
[SearchPanes]: API initialisation with nested tables
When having nested DataTables with SearchPanes, the initialisation of an inner table breaks the search panes of the outer table (the filter options of the outer table are updated with the filter options of the inner table).
Here is the test case:
http://live.datatables.net/wuzajiva/7/edit?js,output
Just click on any "+" button to add a nested DataTable with SearchPanes.
The "classic" initialisation with dom: 'Bt'
works fine:
http://live.datatables.net/wuzajiva/8/edit?js,output
This question has an accepted answers - jump to answer
Answers
Hi,
Thanks for noting this - you are absolutely right. This is due to the bubbling action of the events from the nested tables are we aren't filtering on that. I've committed a fix for that issue here.
Regards,
Allan
Hi @allan ,
Fix applied, works perfect, thank you!
Discussion can be closed.
Pascal