Skip to main content


adjusts the width of a column to make all its content visible

adjustColumnWidth(colId: Id, adjust?: string | boolean): void;


  • colId: string | number - the id of a column
  • adjust: string | boolean - optional, the mode of adjusting a column ("header", "data", true)


treegrid.adjustColumnWidth("b", "header");

If no value is set to the adjust parameter, the adjustColumnWidth method sets it to true.