Class no-footer applied to Table despite a footer is present.

Class no-footer applied to Table despite a footer is present.

ZimCHZimCH Posts: 2Questions: 1Answers: 0

I'm using Datatables 1.10.13 with the jQuery UI styling options. Somehow DataTables must think there is no footer present, as the maintable gets the class "no-footer" applied. Wouldn't bother me much, but an ugly

border-bottom: 1px;

is applied, that doesn't really fit. You even have that feature/problem on your example: https://datatables.net/manual/styling/jqueryui

  • Is this a bug?
  • How can I remove it without modifiying the js or css source?

I'd like to avoid using something like

$(table).removeClass("no-footer");

Answers

  • ZimCHZimCH Posts: 2Questions: 1Answers: 0

    Another solution is to override with my own styles.css file, but that as well is more a hack:

    table.dataTable.no-footer {
        border-bottom: none;
    }
    
This discussion has been closed.