Topic: Bottom header on MDBDataTable

Mike.Thomson free asked 4 years 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.)


Piotr Glejzer staff commented 4 years 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.


Mike.Thomson free answered 4 years ago


Great thanks............................


Mike.Thomson free answered 4 years ago


Great thanks............................



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.23.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No