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_setcolumns_method/ below:

Website Navigation


JavaScript Grid - setColumns Method

setColumns()

sets configuration for Grid columns

setColumns(columns: object[]): void;

Parameters:

Example

grid.setColumns([
{ id: "a", header: [{ text: "New header for column a" }] },
{ id: "b", header: [{ text: "New header for column b" }] },
// more columns objects
]);

Each column object may contain a set of properties. You will find the full list of the configuration properties of a Grid column here.


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