Skip to content

table option data-height causes duplicate headers and overrides the html caption tag  #7921

@discoverix

Description

@discoverix

Bootstraptable version(s) affected

1.24.2

Description

I create a simple table (6 cols, approx 300 records) with Flask, I use html and BS-Table to create and format the table. Data are taken from the html table (data-toggle="table"). Everything works fine until I add the option "data-height".
This option creates a duplicate header and overrides the html tag. The BS-Table documentation says: "The height of the table, enables a fixed header of the table." That might be the cause of the problem.
I would like to use "data-height" to define the space available for data, but - of course - I would like to see the caption and ONE header line only. Any suggestions ?

Example(s)

No response

Possible Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues which are marked as Bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions