Foundation: Are column classes controllable via a setting or the api?

Foundation: Are column classes controllable via a setting or the api?

smg6511smg6511 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

Answers

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin
    Answer ✓

    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

  • smg6511smg6511 Posts: 12Questions: 2Answers: 0

    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.

This discussion has been closed.