Skip to content

bootstrapTable: data-height + data-filter-control +hidden on init => no header of table! #7846

@DmVoytikov

Description

@DmVoytikov

Bootstraptable version(s) affected

1.24.1

Description

  1. Add options data-height
  2. Add options data-filter-control (as example https://live.bootstrap-table.com/example/extensions/filter-control.html)
  3. Add hidden class on start (.hidden{display: none})
  4. Add button for show table (remove class hidden)
  5. Run page
  6. Click Button for show table

Bug result: no header of table:
https://live.bootstrap-table.com/code/DmVoytikov/18810

If no data-height => header exists

Example(s)

https://live.bootstrap-table.com/code/DmVoytikov/18810

Possible Solutions

to execute
...bootstrapTable('refresh');
after show table;

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