Datatables scroller padding in header issue?

Datatables scroller padding in header issue?

09armageddon09armageddon Posts: 3Questions: 0Answers: 0
edited August 2012 in General
Hi. Is there any way I can remove the padding after the last header column and make the header take up that space in the circled area of the following image:
[img]https://picasaweb.google.com/lh/photo/0pYZokn7FT1CfoDYfZjhmXvuHHddhgPKVB02-_6Lspk?feat=directlink[/img]

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    No - that is intentionally done so that the column header aligns with the columns. If it were to overflow the scrollbar, then the columns wouldn't align with the headers!

    If you want to style the area to look like it is part of the header, that can easily be done with the div.dataTables_scrollHeadInner element.

    Allan
  • 09armageddon09armageddon Posts: 3Questions: 0Answers: 0
    Where would I need to make the change?
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    In any CSS file. There isn't a default for that in DataTables' CSS files.
  • 09armageddon09armageddon Posts: 3Questions: 0Answers: 0
    Oh alright then. Thanks.
This discussion has been closed.