Topic: Bottom header on MDBDataTable
Mike.Thomson
asked a year ago
Expected behavior MDBDataTable by default will display an additional thead within the table footer div, repeating the column names on the bottom row. For many this is an undesirable behaviour. The work around that has been discussed here is to add css such as t
body + thead {
display: none;
}
to prevent display of this header line, however this solution only works for browser display. In my case I export the table to PDF (using html-to-pdfmake) and so the header line in footer reappears.
Actual behavior
A documented property to control rendering of bottom header line would be appreciated - is there another work around?
Resources (screenshots, code snippets etc.)
Mike.Thomson
answered a year ago
Mike.Thomson
answered a year ago
Resolved
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.23.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented a year ago
we already re-writed props to show/hide elements in datatable with the user will. But It will be available with 5.0.0 release (January/Februrary). Sorry about that. Have a nice day.