bootstrap-table-fixed-columns-pro
v1.0.3
Published
Fixed Columns extension of bootstrap-table
Downloads
127
Readme
bootstrap-table-fixed-columns-pro
Fixed Columns extension of bootstrap-table
the original 'bootstrap-table-fixed-columns' project only support fixed table columns from left to right, this project support fixed table columns from right to left.
install
npm install bootstrap-table-fixed-columns-pro
Options
data-fixed-columns / fixedColumns
- type: Boolean
- description: set
true
to enable fixed columns. - default:
false
data-fixed-number / fixedNumber
- type: Number
- description: the number of fixed columns.
- default:
1
fixedFrom
- type: string
- description: the direction of fixed columns.
- default:
left
- values:
right
,left
License
The MIT License.
example
if you wnat the table will fixed columns from right to left, you can use just like this
$('#demoTable').bootstrapTable({ fixedColumns: true, fixedFrom: 'right', fixedNumber: 3 });