DataTable is not working as expected


Topic: DataTable is not working as expected

sandeep.acharya pro premium priority asked 5 years ago

Expected behavior

Actual behavior

Please find the attached screenshot on how the view when tried to load more than 30 columns and 1000 rows of data.

  1. Show entries dropdown was displayed so weird.
  2. Table header is coming with a margin bottom and a scrollbar.
  3. The table header and body are not in proper order.

Resources (screenshots, code snippets etc.)

<MDBDataTable
    bordered
    hover
    searching={false}
    maxHeight={"35vh"}
    scrollY
    noBottomColumns
    responsive
    striped
    data={static_data_table}
/>

enter image description here


Piotr Glejzer staff commented 5 years ago

This is a bug. I already working to refactor this component so I will try to fix this.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.26.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No