DataGridXL - API

GridDialog

Description

The GridDialog (shared between all DataGridXL instances) displays a dialog message (like a JavaScript "alert") to the user, such as _"Cannot remove columns in case of X"_.

Usage

The DataGridXL class has a static property gridDialog.

javascript
// create DataGridXL instance
const grid = new DataGridXL(...);
// work with the shared GridDialog instance
grid.constructor.gridDialog.open(grid, "Hello there!");
NOTE: You don't need to create a GridDialog instance yourself — it is provided by the grid automatically.

Methods

open(instance, message)

Open grid dialog

Arguments

instance
DataGridXLDataGridXL instance that opens the dialog
message
stringMessage to display in the dialog
No generated events found for GridDialog.