Usage
ag_col_width(
x,
columns = NULL,
width = NULL,
initialWidth = NULL,
minWidth = NULL,
maxWidth = NULL,
flex = NULL,
initialFlex = NULL,
resizable = NULL,
suppressSizeToFit = NULL,
suppressAutoSize = NULL,
...
)
Arguments
- x
aggrid Object
- columns
Specify the column to modify, Default is all columns.
- width
Initial width in pixels for the cell.
- initialWidth
Same as width, except only applied when creating a new column. Not applied when updating column definitions.
- minWidth
Minimum width in pixels for the cell.
- maxWidth
Maximum width in pixels for the cell.
- flex
Used instead of width when the goal is to fill the remaining empty space of the grid.
- initialFlex
Same as flex, except only applied when creating a new column. Not applied when updating column definitions.
- resizable
Set to true to allow this column should be resized.
- suppressSizeToFit
Set to true if you want this column's width to be fixed during 'size to fit' operations.
- suppressAutoSize
Set to true if you do not want this column to be auto-resizable by double clicking it's edge.
- ...
please see https://www.ag-grid.com/javascript-data-grid/column-properties/.