summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authoreriklumme <erik@vaadin.com>2019-09-06 18:08:11 +0300
committerAnna Koskinen <Ansku@users.noreply.github.com>2019-09-06 18:08:11 +0300
commit42fa4b0feed41fdc7f1b8867ec31f4e9e5cba286 (patch)
treed1fa49b1c94a3cab8b8aec579b805a88f31d8b6b /documentation
parent8daef97f765be058e672eab1d29ab55e4c7a24e7 (diff)
downloadvaadin-framework-42fa4b0feed41fdc7f1b8867ec31f4e9e5cba286.tar.gz
vaadin-framework-42fa4b0feed41fdc7f1b8867ec31f4e9e5cba286.zip
Remove double negation (#11713)
"doesn't not" should be either "doesn't" or "does not".
Diffstat (limited to 'documentation')
-rw-r--r--documentation/advanced/advanced-dragndrop.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/advanced/advanced-dragndrop.asciidoc b/documentation/advanced/advanced-dragndrop.asciidoc
index 4aaa0586d0..5958c11e2f 100644
--- a/documentation/advanced/advanced-dragndrop.asciidoc
+++ b/documentation/advanced/advanced-dragndrop.asciidoc
@@ -250,7 +250,7 @@ GridRowDragger<Task> gridRowDragger = new GridRowDragger<>(taskGrid);
grid.getColumns().stream().forEach(col -> col.setSortable(false));
----
-The `GridRowDragger` uses the `DropMode.BETWEEN` by default. It doesn't not allow the user to drop data on top of a sorted grid's rows by automatically switching to `DropMode.ON_GRID` if the grid has been sorted by the user. This is because the shown drop location would not be correct due to the sorting. It is recommended that you disable the sorting for the grid, by using the `Column.setSortable` method (like above). By default, all columns are sortable when a in-memory data provider is used. If you allow the user to drop on top of a sorted grid's rows, you should scroll the dropped data to be visible with `grid.scrollToRow(index);` after drop for good UX - the `GridRowDragger` does not do this!
+The `GridRowDragger` uses the `DropMode.BETWEEN` by default. It does not allow the user to drop data on top of a sorted grid's rows by automatically switching to `DropMode.ON_GRID` if the grid has been sorted by the user. This is because the shown drop location would not be correct due to the sorting. It is recommended that you disable the sorting for the grid, by using the `Column.setSortable` method (like above). By default, all columns are sortable when a in-memory data provider is used. If you allow the user to drop on top of a sorted grid's rows, you should scroll the dropped data to be visible with `grid.scrollToRow(index);` after drop for good UX - the `GridRowDragger` does not do this!
If you want to customize the setup for the grid as a drag source or drop target, you can access and customize the handlers with the `getGridDragSource()` and `getGridDropTarget()` methods.