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

Website Navigation


JavaScript Grid - dragItem Config

dragItem

pro version only

This functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.
In case you use GPL version, you will be able to reorder rows only.

Optional. Enables the possibility to reorder grid columns or (and) rows by drag and drop

dragItem?: "column" | "row" | "both";

Example

const grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
dragItem: "both",
data: dataset
});

Related sample: Grid. Drag-n-drop

Drag-n-drop can work in three modes:

info

Enable multiselection of rows to allow a user to drag-n-drop multiple rows at once.

Change log:

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