publish/Admin/wwwroot/lib/bootstrap.table/1.12.0/extensions/reorder-columns/README.md

(完整代码) 1KB

# Table Reorder Columns

Use Plugin: [bootstrap-table-reorder-columns](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/reorder-columns) </br>
Dependence: [dragTable](https://github.com/akottr/dragtable/) v2.0.14 (must include the css file), </br>
[jquery-ui](https://code.jquery.com/ui/) v1.11


## Usage

```html
<link rel="stylesheet" href=".../dragtable.css">
<script src=".../jquery-ui.js"></script>
<script src=".../jquery.dragtable.js"></script>
<script src="extensions/reorder-columns/bootstrap-table-reorder-columns.js"></script>
```

## Options

### reorderableColumns

* type: Boolean
* description: Set true to allow the reorder feature.
* default: `false`

### maxMovingRows

* type: Integer
* description: Moving only the header. Recommended for very large tables (cells > 1000)
* default: `10`

### dragaccept

* type: String
* description: Allow to drag only the rows that have the css class as attribute.
* default: `null`

## Events

### onReorderColumn(reorder-column.bs.table)

Fired when the column was dropped, receive as parameter the new header fields order

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。