# Table Filter Control
Use Plugin: [bootstrap-table-filter-control](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/filter-control) </br>
Dependence if you use the datepicker option: [bootstrap-datepicker](https://github.com/eternicode/bootstrap-datepicker) v1.4.0
## Usage
```html
<link rel="stylesheet" type="text/css" href="extensions/filter-control/bootstrap-table-filter-control.css">
<script src="extensions/filter-control/bootstrap-table-filter-control.js"></script>
```
## Options
### filterControl
* type: Boolean
* description: Set true to add an `input` or `select` into the column.
* default: `false`
### filterShowClear
* type: Boolean
* description: Set true to add a button to clear all the controls added by this plugin.
* default: `false`
### alignmentSelectControlOptions
* type: String
* description: Set the alignemnt of the select control options. Use Use `left`, `right` or `auto`.
* default: `undefined`
### hideUnusedSelectOptions
* type: Boolean
* description: Set to true in order to hide the options that are not in the table. This option does not work on server-side pagination.
* default: `false`
### disableControlWhenSearch
* type: Boolean
* description: Set to true if you want to disable the control while the server is responding the data. This options will work if the sidePagination is 'server'.
* default: `false`
### searchOnEnterKey
* type: Boolean
* description: Set to true to fire the search action when the user press the enter key.
* default: `false`
## Column options
### filterControl
* type: String
* description: Set `input`: show an input control, `select`: show a select control, `datepicker`: show a datepicker control.
* default: `undefined`
### filterData
* type: String
* description: Set custom select filter values, use `var:variable` to load from a variable or `url:http://www.example.com/data.json` to load from a remote json file or `json:{key:data}` to load from a json string.
* default: `undefined`
### filterDatepickerOptions
* type: Object
* description: If the datepicker option is set use this option to configure the datepicker with the native options. Use this way: `data-filter-datepicker-options='{"autoclose":true, "clearBtn": true, "todayHighlight": true}'`.
* default: `undefined`
### filterStrictSearch
* type: Boolean
* description: Set to true if you want to use the strict search mode.
* default: `false`
### filterStartsWithSearch
* type: Boolean
* description: Set to true if you want to use the starts with search mode.
* default: `false`
### filterControlPlaceholder
* type: String
* description: Set this in order to show a placeholder only in the input filter control.
* default: ``
### Icons
* clear: 'glyphicon-trash icon-clear'
## Locale
### formatClearFilters
* type: Function
* default: `function () { return "Clear Filters";}`
## Events
### onColumnSearch(column-search.bs.table)
* Fired when we are searching into the column data
## Methods
### triggerSearch
* Trigger manually the search action
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
boostrap table 官方实例 (324个子文件)
index.html.conf 10KB
bootstrap.css 129KB
bootstrap.min.css 124KB
bootstrap.min.css 107KB
font-awesome.css 26KB
bootstrap-table-group-by.css 24KB
font-awesome.min.css 21KB
bootstrap-theme.css 21KB
bootstrap-theme.min.css 18KB
bootstrap-table.css 7KB
index.css 2KB
bootstrap-table-reorder-rows.css 819B
bootstrap-table-tree-column.css 582B
bootstrap-table-sticky-header.css 416B
bootstrap-table-multiple-selection-row.css 306B
bootstrap-table-click-edit-row.css 287B
bootstrap-table-group-by.css 215B
bootstrap-table-filter-control.css 190B
bootstrap-table-jumpto.css 148B
bootstrap-table-auto-refresh.css 48B
examples.css 0B
fontawesome-webfont.eot 55KB
glyphicons-halflings-regular.eot 20KB
.gitignore 77B
.gitmodules 248B
639.html 13KB
index.html 12KB
welcome.html 10KB
v4.html 7KB
index.html 7KB
boolean-options.html 4KB
select2-filter.html 4KB
multiple-table.html 3KB
treegrid.html 3KB
fixed-columns.html 3KB
561.html 3KB
from-html.html 3KB
283.html 3KB
152.html 3KB
defer-url.html 3KB
custom-toolbar.html 3KB
sticky-header.html 2KB
modal-table.html 2KB
i18n-enhance.html 2KB
selectPage-prevPage-nextPage.html 2KB
383.html 2KB
917.html 2KB
sub-table.html 2KB
resetView.html 2KB
checkBy-uncheckBy.html 2KB
updateByUniqueId.html 2KB
395.html 2KB
986.html 2KB
filterBy.html 2KB
remove.html 2KB
expandRow-collapseRow.html 2KB
export.html 2KB
1167.html 2KB
mergeCells.html 2KB
updateRow.html 2KB
insertRow.html 2KB
350.html 2KB
579.html 2KB
checkAll-uncheckAll.html 2KB
append.html 2KB
check-uncheck.html 2KB
scrollTo.html 2KB
987.html 2KB
showColumn-hideCoulumn.html 2KB
showRow-hideRow.html 2KB
getAllSelections.html 2KB
table-style.html 2KB
load.html 2KB
prepend.html 2KB
from-data.html 2KB
reorder-columns.html 2KB
format.html 2KB
custom-ajax.html 2KB
415.html 2KB
multiple-sort.html 2KB
refresh.html 2KB
getSelections.html 2KB
431.html 2KB
destroy.html 2KB
353.html 2KB
disabled-checkbox.html 2KB
getRowByUniqueId.html 2KB
tree-column.html 2KB
showLoading-hideLoading.html 2KB
removeByUniqueId.html 2KB
basic-columns.html 2KB
177.html 2KB
large-columns.html 2KB
getData.html 2KB
refreshOptions.html 2KB
337.html 2KB
386.html 2KB
457.html 2KB
togglePagination.html 1KB
getOptions.html 1KB
共 324 条
- 1
- 2
- 3
- 4
资源评论
未知街
- 粉丝: 2703
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功