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/gridcolumn_properties/gridcolumn_width_property/ below:

Website Navigation


JavaScript Grid column - width Config

width

Optional. The width of a column

note

Note that width can't be less than 20px. The property is ignored if the adjust property is used.

Usage​
width?: number; 

Default value: 100

Example​
const grid = new dhx.Grid("grid_container", {
columns: [
{ id: "country", header: [{ text: "Country" }], width: 200 },
// more columns configuration objects
],
// more options
});

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