TreeListBatchEditSettings.EnableMultipleCellSelection Property
Specifies whether to enable multiple cell selection.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableMultipleCellSelection |
---|---|
TreeListSettingsEditing |
|
Remarks
Set the EnableMultipleCellSelection
property to true
to allow users to select multiple cells in DevExpress.Web.ASPxTreeList.
In markup:
<dx:ASPxTreeList ID="TreeList1" runat="server" ...>
...
<SettingsEditing Mode="Batch">
<BatchEditSettings EnableMultipleCellSelection="True" />
</SettingsEditing>
</dx:ASPxTreeList>
In code:
ASPxTreeList treeList1 = new ASPxTreeList();
// ...
treeList1.SettingsEditing.BatchEditSettings.EnableMultipleCellSelection = true;
End-User Capabilities
Select Cells
Users can select multiple cells with the mouse or keyboard:
- Click a cell and drag over the required cells while holding the left mouse button.
- Hold Shift and press the arrow keys to select a contiguous cell range. To add non-adjacent cells to the current selection, hold Ctrl and click the required cells.
Manage Cells
- Copy and paste the selected cells to the same grid, or a sheet of an Excel file or Spreadsheet.
- Select cells and press Ctrl+C. Select the cell range where you want to paste the copied cells and press Ctrl+V.
- Paste a value to all selected cells.
- Copy a value to the clipboard. Select the required cells and press Ctrl+V to paste the copied value to all selected cells.
- Use the context menu to copy/paste cell values.
- Right-click the selected cells to invoke the context menu.
Note
Note that this functionality uses the
navigator.clipboard
property which works only if a web site supports a secure origin (HTTPS).
Related API
- CellSelectionChanging
- Fires when you select or deselect a cell.
- GetSelectedCells
- Obtains selected cells.
- SelectCell(nodeKey, columnIndex) and UnselectCell(nodeKey, columnIndex)
- Select and deselect specific cells.
See Also