Foundation: Are column classes controllable via a setting or the api?
Foundation: Are column classes controllable via a setting or the api?
smg6511
Posts: 12Questions: 2Answers: 0
I'm trying out using datatables in a foundation project and would like to adjust the classes that are set on the length/filter and info/paginate columns. (Note that I'm also using the responsive extension.) The default is "small-6 columns" and I'd like to change that to "medium-6 columns" instead. Is this possible?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes - this is controlled by the
dom
option. This is where the Foundation integration for DataTables sets that value - you could basically do the same thing with your own classes.Its ugly, but it is a fairly powerful parameter that one!
I'm wondering if
medium
might actually be a better default...Allan
Ahh, yes ... that makes sense. Thanks, Allan. I do think a medium default would be better as, in many cases, there will be overlap when there are two elements shown above and/or below the table.