Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierderuette authored Dec 22, 2017
1 parent dbc7545 commit 23928f0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/extensions/resizable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,14 @@ Dependence: [colResizable](https://github.com/alvaro-prieto/colResizable) v1.6
* type: Function
* description: This event is fired while dragging a column anchor if liveDrag is enabled. It can be useful if the table is being used as a multiple range slider. The callback function can obtain a reference to the updated table through the currentTarget attribute of the event retrieved by parameters
* default: `empty function`


### resizeMode

* type: String
* description: It is used to set how the resize method works. Those are the possible values:
* 'fit': this is default resizing model, in which resizing a column does not alter table width, which means that when a column is expanded the next one shrinks.
* 'flex': in this mode the table can change its width and each column can shrink or expand independently if there is enough space in the parent container. If there is not enough space, columns will share its width as they are resized. Table will never get bigger than its parent.
* 'overflow': allows to resize columns with overflow of parent container.
* default: `fit`

0 comments on commit 23928f0

Please sign in to comment.