Removing one column and head causes missing search functionality and pagination

Removing one column and head causes missing search functionality and pagination

momamemomame Posts: 1Questions: 1Answers: 0

Hi everyone,

I want to delete for instance a <th>css </th> but when I do it, all of my datatables with ID=example1 , example2 and ... become mess and I lose search field and pagination(1-2-3....). what is the reason?
Thanks

Answers

  • Tom (DataTables)Tom (DataTables) Posts: 139Questions: 0Answers: 26

    Hi momane

    I would imagine that either your column count in <tbody> doesn't match <thead> or that your column definition inside your datatables initialisation doesn't match the number of columns you have define inside the table.

This discussion has been closed.