Question on the new "layout" option

Question on the new "layout" option

phaxphax Posts: 17Questions: 5Answers: 0

Link to test case: none, sorry
Debugger code ( none, sorry
Error messages shown: none
Description of problem:

I am using DT with a Bootstrap4 binding.
In DT 1.x it was possible to alter the DOM to avoid the headers and footers are printed by wrapping everying in a div with class d-print-none. I don't see how I can do that with the existing setup. How can I wrap a predefined element like paging or search in a container element?

Thanks in advance for your help :)

This question has an accepted answers - jump to answer


  • allanallan Posts: 62,246Questions: 1Answers: 10,211 Site admin
    Answer ✓

    There isn't an option to add a class to a row or cell for the layout at the moment, other than to modify the renderer or to add it to the elements using DOM or jQuery methods after they are created.

    I'm going to look at how I can extend layout to allow classes and ids to be assigned to the rows / cells for 2.1.


  • phaxphax Posts: 17Questions: 5Answers: 0

    Thanks Allan as usual for the swift and useful response. Highly appreciated.

Sign In or Register to comment.