Optional. Defines whether the width of a column is automatically adjusted to its content
Exampleâconst grid = new dhx.Grid("grid_container", {
columns: [
{ id: "country", header: [{ text: "Country" }], adjust: "header" },
// more columns configuration objects
],
adjust: false,
// more options
});
adjust
property has a priority over the autoWidth
property if it is specified either for the grid or for the column, and over the width
property of the column.minWidth/maxWidth
properties if they are set for a column.note
Note that if you change the font type, size, or offsets, the correct calculation of the adjust
property of a cell may not be guaranteed.
Related article: Autosize for columns
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