A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/api/grid_autowidth_config/ below:

JavaScript Grid - autoWidth Config

Optional. Makes grid's columns to fit the size of a grid

const grid = new dhx.Grid("grid_container", {
columns: [

],
autoWidth:true,
data: dataset
});

Related sample: Grid. Columns auto width

note

The property is ignored if the adjust property is used.

The width of the columns is calculated on the base of the sizes of the container of the grid and the values of the minWidth/maxWidth properties if they are set for the columns.

note

If the width property is specified in the configuration object of a column, the autoWidth property won't work for this column.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4