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

Website Navigation


JavaScript Grid column - editorConfig Config

editorConfig

Optional. An object with configuration settings of the column's editor

Usage​ Parameters​

The structure of the editorConfig object depends on the specified type of the editor or the column. Check the list below:

editorType: "combobox/multiselect" For this type of editor, the editorConfig object can include the following properties: editorType: "multiselect" For this type of editor, the editorConfig object can include the following properties: editorType:"datePicker" and column type:"date" For this type of editor, the editorConfig object can include the following properties: and a set of properties of Calendar (except for the value and range ones) editorType:"input" and column type:"number" For this combination, the editorConfig object can include the following properties: Example​
const grid = new dhx.Grid("grid_container", {
columns: [
{
id: "status",
header: [{ text: "Status" }],
editorType: "combobox",
// enables the ability to add new values into the combobox editor of the "Status" column
editorConfig: { newOptions: true },
options: [ "Done", "In Progress", "Not Started" ]
},
// more columns configuration objects
],
// more options
});

Related article: Editing Grid and separate columns

Related sample: Grid. Rich example with templates and different editors


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