BBjGrid::setDragEnabled
Description
In BBj 8.00 and higher, this method sets whether the BBjGrid should allow drag operations.
Syntax
Return Value |
Method |
void |
setDragEnabled(boolean mode) |
Parameters
Variable |
Description |
mode |
Specifies whether the BBjGrid should allow Drag and Drop operations. 0 = Drag Drop Disabled (Default). 1 = Drag Drop Enabled. |
Return Value
None
Remarks
When drag-drop is disabled, all mouse press and drag movements will be considered a drag-select. When drag-drop is enabled the in order for the user to perform a drag-drop motion on the grid, the user must press and hold the left mouse button on an already selected cell, row, or column. The drag-drop feature will not work unless the cell had been previously selected.
Example
|