The DragPanel
module provides auxiliary functionality for moving rows in the dhx.Grid component.
You can also adjust the appearance and behavior of the DragPanel
module via the configuration options.
To initialize the DragPanel
module, use the dragPanel
property in the configuration of the dhx.Grid component. The module is also automatically activated if:
const grid = new dhx.Grid("grid_container", {
columns: [
{ id: "a", header: [{ text: "A" }] },
{ id: "b", header: [{ text: "B" }] },
],
data: [
{ id: "1", a: "A1", b: "B1" },
{ id: "2", a: "A2", b: "B2" },
],
dragItem: "both",
blockSelection: true,
dragPanel: true
});
The dragPanel
property can also be set as an object to enable the module and provide additional configuration options. Learn about configuration possibilities of the drag panel in the Configuration guide.
To make the process of working with the drag panel more flexible, you can apply the related events of the DragPanel
module:
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