[SearchPanes]: API initialisation with nested tables

[SearchPanes]: API initialisation with nested tables

pgerundtpgerundt Posts: 90Questions: 13Answers: 2

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

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Answer ✓

    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

  • pgerundtpgerundt Posts: 90Questions: 13Answers: 2

    Hi @allan ,

    Fix applied, works perfect, thank you!
    Discussion can be closed.

    Pascal

Sign In or Register to comment.