table header width problem if two header rows

table header width problem if two header rows

mcranemcrane Posts: 10Questions: 4Answers: 0

I have a DataTable with two header rows: one for sorting and one for filtering. The width of the table is set to 100%. However, the table doesn't take up 100% of the page: (see first screenshot). If there is only one header row, the table looks fine (see second screenshot). Somehow there is a small amount of padding being added to the rows. It looks suspiciously like the width of the scroll bar. Any help?

Answers

  • mcranemcrane Posts: 10Questions: 4Answers: 0

    Should mention I am using the Scroller extension.

  • kthorngrenkthorngren Posts: 21,569Questions: 26Answers: 4,996

    A basic config with scroller and two headers rows setup like you describe looks good. It looks like the headings are left justified which my default setup doesn't have. Might be best to post a link to your code for detailed review.

    Kevin

This discussion has been closed.