Use Two DOM based Extensions in one DataTable
Use Two DOM based Extensions in one DataTable
 hermes980            
            
                Posts: 41Questions: 13Answers: 0
hermes980            
            
                Posts: 41Questions: 13Answers: 0            
            
            
                            
                                  in Extensions             
        Hi all,
I am using tabletools and would like to use colvis on the same table. However, they are both initiliazed using "dom". Can I put both options together (ex. "dom": 'T<"clear">lfrtip C<"clear">lfrtip',). Or is there another method for using these both on one table?
Thanks,
K.
This question has an accepted answers - jump to answer
This discussion has been closed.
            
Answers
Sure you can. Each letter is a feature, so just put the two letter in...
"dom": 'TC<"clear">lfrtipfor example. Where you put the letters effect the order in which they appear in the DOM (that's the whole point of thedomoption).Allan
Thank you! What if I want the positioning to be different?
Change the position of the letter in the string :-). You may also need to use CSS once they are in the document.
Allan