Double thead with sorting buttons

Double thead with sorting buttons

nelsonamayanelsonamaya Posts: 2Questions: 1Answers: 0

Hi, why I'm seeing 2 theads with sorting buttons?

This is my DataTables configuration:

$( '#directorytable' ).DataTable({
scrollY: 'calc(100vh - 600px)',
scrollCollapse: true,
processing: true,
serverSide: true,
ajax: 'ajaxurl',
columns: [
{ data: 'class_year' },
{ data: 'groups' },
{ data: 'display_name' },
{ data: 'full_name' },
{ data: 'last_name_at_lfhs' },
{ data: 'email' },
{ data: 'phone' },
{ data: 'city' },
{ data: 'state' },
{ data: 'posts' },
],
deferRender: true,
layout: {
bottomEnd: 'inputPaging'
}
});

Answers

  • nelsonamayanelsonamaya Posts: 2Questions: 1Answers: 0

    I found the issue, it was a custom styling in the theme.

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Thanks for posting back. Good to hear you found the solution.

    Allan

Sign In or Register to comment.