General.Web/wwwroot/lib/bootstrap.table/1.12.0/extensions/resizable/README.md

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

# Table Resizable

Use Plugin: [bootstrap-table-resizable](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/resizable) </br>
Dependence: [colResizable](https://github.com/alvaro-prieto/colResizable) v1.6

## Usage

```html
<script src="extensions/cookie/bootstrap-table-resizable.js"></script>
```

## Options

### resizable

* type: Boolean
* description: Set true to allow the resize in each column.
* default: `false`

### liveDrag

* type: Boolean
* description: When set to true the table layout is updated while dragging column anchors. liveDrag enabled is more CPU consuming so it is not recommended for slow computers, specially when dealing with huge or extremely complicated tables.
* default: `false`

### fixed

* type: Boolean
* description: It is used to set how the resize method works. In fixed mode resizing a column does not alter total table width, which means that when a column is expanded the next one shrinks. If fixed is set to false then table can change its width and each column can shrink or expand independently.
* default: `true`

### headerOnly

* type: Boolean
* description: This attribute can be used to prevent vertical expansion of the column anchors to fit the table height. If it is set to true, column handler's size will be bounded to the first row's vertical size.
* default: `false`

### minWidth

* type: Integer
* description: This value specifies the minimum width (measured in pixels) that is allowed for the columns.
* default: `15`

### hoverCursor

* type: String
* description: This attribute can be used to customize the cursor that will be displayed when the user is positioned on the column anchors.
* default: `e-resize`

### dragCursor

* type: String
* description: Defines the cursor that will be used while the user is resizing a column.
* default: `e-resize`

### onResizableResize

* type: Function
* description: If a callback function is supplied it will be fired when the user has ended dragging a column anchor altering the previous table layout. The callback function can obtain a reference to the updated table through the currentTarget attribute of the event retrieved by parameters.
* default: `empty function`
后面还有 17 行代码,解锁后查看完整代码

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

AI 解读

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

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