adjustColumnWidth()
adjusts the width of a column to make all its content visible
adjustColumnWidth(rowId: string | number, adjust?: "data" | "header" | "footer" | boolean): void;
Parameters:
rowId: string | number
- the id of a columnadjust: string | boolean
- optional, the mode of adjusting a column ("data" | "header" | "footer" | boolean)
Example
grid.adjustColumnWidth("b", "header");
If no value is set to the adjust parameter, the adjustColumnWidth method sets it to true.