Use Two DOM based Extensions in one DataTable
Use Two DOM based Extensions in one DataTable
![hermes980](https://secure.gravatar.com/avatar/98cfe3dbf8fce73522348814cc586a08/?default=https%3A%2F%2Fvanillicon.com%2F98cfe3dbf8fce73522348814cc586a08_200.png&rating=g&size=120)
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">lfrtip
for example. Where you put the letters effect the order in which they appear in the DOM (that's the whole point of thedom
option).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