From 23928f0dcd78a9d79898dd44d0977de5aeadf961 Mon Sep 17 00:00:00 2001 From: Gautier Deuette Date: Fri, 22 Dec 2017 08:58:50 +0100 Subject: [PATCH] Update README.md --- src/extensions/resizable/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/extensions/resizable/README.md b/src/extensions/resizable/README.md index a721bc79f6..4f335f7f76 100644 --- a/src/extensions/resizable/README.md +++ b/src/extensions/resizable/README.md @@ -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` +