wenzhixin / bootstrap-table-examples

Bootstrap table examples
https://examples.bootstrap-table.com/
MIT License
2.23k stars 1.62k forks source link

Table Filter Control Bug Issue: data-height conflicting with data-filter-control SELECT #519

Open AGENTJR opened 3 months ago

AGENTJR commented 3 months ago

This issue has been going on for two years or more. It appears when without the data-height - the data-filter-control with SELECT works however it causes it loses the styling. In our layout cshtml it also uses the following:

**<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link href="~/lib/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="~/lib/bootstrap-table-master/dist/bootstrap-table.min.css">
<link rel="stylesheet" href="~/lib/bootstrap-table-master/dist/extensions/filter-control/bootstrap-table-filter-control.min.css">
<link href="~/lib/paper-dashboard/css/paper-dashboard.min.css" rel="stylesheet" asp-append-version="true" />**

So when we put the data-height back in - the style is not lost BUT the data-filter-control with SELECT doesn't work in retaining the selected value. For example if you have [All], [Yes],[No]. So when you select [No], the table filters correctly but the dropdown defaults to [All]. When you select [All], it doesn't refresh the table as to clear the filters.

Please can this be sorted out ASAP to make sure the Data-Height AND data-filter-control with SELECT can work together.

smillove commented 3 months ago

这是一封自动回复邮件。已经收到您的来信,我会尽快回复。