A RetroSearch Logo

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

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/container/container_attach_method/ below:

Website Navigation


JavaScript Form - attach Container Method

 const form = new dhx.Form("form_container", {
css: "dhx_widget--bordered",
padding: "40px",
rows: [
{
type: "container",
name: "grid",
padding: "12px 0px",
height: "100px"
},
]
});

const grid = new dhx.Grid(null, {
columns: [
{ width: 200, id: "country", header: [{ text: "Country" }] },
{ width: 200, id: "population", header: [{ text: "Population" }] },
{ width: 200, id: "yearlyChange", header: [{ text: "Yearly Change" }] },
],
});

form.getItem("grid").attach(grid);

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