8000 Remove `fixed` option from resizable extension · pythonAI/bootstrap-table@04df836 · GitHub
[go: up one dir, main page]

Skip to content

Commit 04df836

Browse files
pmichnaPawel Michna
authored and
Pawel Michna
committed
Remove fixed option from resizable extension
According to [colResizable documentation](http://www.bacubacu.com/colresizable/#attributes) the `fixed` option is deprecated. `resizeMode` is the one that should be used.
1 parent 71a1a5a commit 04df836

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

src/extensions/resizable/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ Dependence: [colResizable](https://github.com/alvaro-prieto/colResizable) v1.6
2323
* 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.
2424
* default: `false`
2525

26-
### fixed
27-
28-
* type: Boolean
29-
* 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.
30-
* default: `true`
31-
3226
### headerOnly
3327

3428
* type: Boolean

src/extensions/resizable/bootstrap-table-resizable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
//Creates the plugin
1515
that.$el.colResizable({
1616
liveDrag: that.options.liveDrag,
17-
fixed: that.options.fixed,
1817
headerOnly: that.options.headerOnly,
1918
minWidth: that.options.minWidth,
2019
hoverCursor: that.options.hoverCursor,
@@ -28,7 +27,6 @@
2827
$.extend($.fn.bootstrapTable.defaults, {
2928
resizable: false,
3029
liveDrag: false,
31-
fixed: true,
3230
headerOnly: false,
3331
minWidth: 15,
3432
hoverCursor: 'e-resize',

src/extensions/resizable/extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Resizable",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Plugin to support the resizable feature.",
55
"url": "https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/resizable",
66
"example": "http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/resizable.html",

0 commit comments

Comments
 (0)
0