From cb4b0202cdafecd8fe3b6e0141907a9cc2d60e09 Mon Sep 17 00:00:00 2001 From: NansiYancheva Date: Fri, 8 Nov 2024 14:43:54 +0200 Subject: [PATCH 1/3] docs(Grid): Document DragToSelect default behavior --- components/grid/selection/cells.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/grid/selection/cells.md b/components/grid/selection/cells.md index f438fe7473..8e0c768dc8 100644 --- a/components/grid/selection/cells.md +++ b/components/grid/selection/cells.md @@ -17,7 +17,7 @@ To select a cell, click anywhere in it. To select a range of cells in one or more columns, hold the **Shift** key, while clicking on the first and last cell of the range. To select or deselect multiple cells that don't belong to a range, hold the **Ctrl** key. -You can also select a cell range by holding and dragging the mouse cursor. The dragging motion defines the diagonal of a rectangle and the Grid will select the cells under this rectangle. To allow this kind of cell selection, set the `DragToSelect` parameter in [`GridSelectionSettings`]({%slug grid-selection-overview%}#enable-row-or-cell-selection). The **Shift** and **Ctrl** modifiers are not supported in drag-to-select mode. +By default, you can also select a cell range by holding and dragging the mouse cursor. The dragging motion defines the diagonal of a rectangle and the Grid will select the cells under this rectangle. To prevent this kind of cell selection, set the `DragToSelect` parameter in [`GridSelectionSettings`]({%slug grid-selection-overview%}#enable-row-or-cell-selection) to `false`. To enable cell selection: From bd4a42f463d60d2a4d884eea28833aa70ecdf179 Mon Sep 17 00:00:00 2001 From: NansiYancheva Date: Fri, 8 Nov 2024 15:11:20 +0200 Subject: [PATCH 2/3] docs(Grid): Add info for standard text selection --- components/grid/selection/cells.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/grid/selection/cells.md b/components/grid/selection/cells.md index 8e0c768dc8..c7ac309c64 100644 --- a/components/grid/selection/cells.md +++ b/components/grid/selection/cells.md @@ -17,7 +17,7 @@ To select a cell, click anywhere in it. To select a range of cells in one or more columns, hold the **Shift** key, while clicking on the first and last cell of the range. To select or deselect multiple cells that don't belong to a range, hold the **Ctrl** key. -By default, you can also select a cell range by holding and dragging the mouse cursor. The dragging motion defines the diagonal of a rectangle and the Grid will select the cells under this rectangle. To prevent this kind of cell selection, set the `DragToSelect` parameter in [`GridSelectionSettings`]({%slug grid-selection-overview%}#enable-row-or-cell-selection) to `false`. +By default, the `DragToSelect` parameter in [`GridSelectionSettings`]({%slug grid-selection-overview%}#enable-row-or-cell-selection) is `true`. This setting allows you to select a cell range by holding and dragging the mouse cursor. The dragging motion defines the diagonal of a rectangle and the Grid will select the cells under this rectangle. The standart text selection is not supported in such a drag-to-select mode. To prevent this kind of cell selection, set the `DragToSelect` parameter to `false`. To enable cell selection: From 7349723454ee43d8525b9c67b19532df6909ab1b Mon Sep 17 00:00:00 2001 From: NansiYancheva <106161782+NansiYancheva@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:37:16 +0200 Subject: [PATCH 3/3] Update components/grid/selection/cells.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> --- components/grid/selection/cells.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/grid/selection/cells.md b/components/grid/selection/cells.md index c7ac309c64..d7454975bf 100644 --- a/components/grid/selection/cells.md +++ b/components/grid/selection/cells.md @@ -17,7 +17,7 @@ To select a cell, click anywhere in it. To select a range of cells in one or more columns, hold the **Shift** key, while clicking on the first and last cell of the range. To select or deselect multiple cells that don't belong to a range, hold the **Ctrl** key. -By default, the `DragToSelect` parameter in [`GridSelectionSettings`]({%slug grid-selection-overview%}#enable-row-or-cell-selection) is `true`. This setting allows you to select a cell range by holding and dragging the mouse cursor. The dragging motion defines the diagonal of a rectangle and the Grid will select the cells under this rectangle. The standart text selection is not supported in such a drag-to-select mode. To prevent this kind of cell selection, set the `DragToSelect` parameter to `false`. +You can also select a cell range by holding and dragging the mouse cursor. The dragging motion defines the diagonal of a rectangle and the Grid will select the cells under this rectangle. This kind of cell selection depends on the `DragToSelect` parameter in [`GridSelectionSettings`]({%slug grid-selection-overview%}#enable-row-or-cell-selection). The default value of `DragToSelect` is `true` and in this case standart text selection is not supported. To enable cell selection: