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

Website Navigation


JavaScript Grid - gravity Config

const grid = new dhx.Grid("grid_container", {
columns: [
{ id: "density", header: [{ text: "Density (P/Km²)" }], gravity: 1 },
// the column with the "area" id is two times wider than the column with the "density" id
{ id: "area", header: [{ text: "Land Area (Km²)" }], gravity: 2 },
// more columns configuration objects
],
autoWidth: true,
// 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