| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
"doesn't not" should be either "doesn't" or "does not".
|
|
|
|
|
|
|
|
| |
* Removed ';' in lambdas
credits to @voltor
* Merge branch 'master' into ZheSun88-patch-1
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update advanced-dragndrop.asciidoc
Fixing example of Drag and drop code.
Resolves https://github.com/vaadin/framework/issues/10512
* Update advanced-dragndrop.asciidoc
Removed unnecessary spaces
* Update advanced-dragndrop.asciidoc
Removed unnecessary spaces
|
|
|
| |
The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.
|
|
|
|
| |
This pathc also switches GridDragger to by default not allow drops on rows when the
grid has been sorted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new drop mode ON_GRID for GridDropTarget
Also adds a way to not accept drops on rows when the user has sorted the grid.
This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted.
This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1.
Instead if is triggerable via API in GridDropTarget.
* Refactor sorted grid drop logic to server side
* Block setDropMode calls
Blocking setDropMode set values if the grid has been sorted and drop on
sorted rows is not allowed. The value is used once the grid is not sorted
anymore or the drops are allowed on sorted rows.
|
|
|
| |
Resolves #9191
|
|
|
| |
Resolves #9372
|
|
|
|
|
| |
Now the DnD events are listened from tablewrapper element,
which contains also grid's header and footer, making it possible to
drop on top of them.
|
|
|
| |
* Add style name to all dragged rows to indicate that they are being dragged
|
|
|
| |
Closes #9223
|
|
|
|
| |
Also makes sure that the drop location and target row return something sensible in drop event.
Clarifies docs on drop location.
|
|
|
|
|
|
| |
empty (#9332)
* Make it possible for grid drop target to accept dragged data when grid is empty (#9068)
* Make return type of getDropTargetRow() optional
|
|
|
|
| |
* Add mention of context menu and DnD collision on mobile devices
|
|
|
|
| |
* Add ability to set multiple drag data generators for any drag data type
and change default to be accepted by spreadsheet applications such as Excel
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First step of mobile DND support.
- Add mobile html5 dnd support using polyfill
- Adds a switch for enabling mobile html5 dnd support
- Adds polyfill only when needed
- Ignore native Android Chrome drag start because doesn't work properly
(no dragend event fired)
- Add documentation on enabling mobile HTML5 DnD support
- Add mention of drag-drop-polyfill license
- Fixed issue in polyfill when not using "snapback"
- Add mention of forked polyfill
Fixes #9174
|
|
|
| |
Fixes #8891
|
|
|
|
| |
Doesn't fix #9261, drag image missing on Safari when dragging grid row because
that has position: absolute and offset.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Always set some drag data
- Set the dropEffect on dragEnter and dragOver events on drop target
- Send the dropEffect to server on drop event with disclaimer of current support
- Remove _dragOverCriteria_ and use _dropCriteria_ for `dragenter`, `dragover` and `drop` criteria
Tested manually basic DnD and Grid DnD on Mac with Chrome, Firefox, Safari.
Safari is still missing drag image (regression).
Tested manually basic DnD and Grid Dnd on Windows IE11 and Edge.
Drop event for both is still not working properly #9174.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add API support for setting server side drag data
* Fix javadocs
* Add server side drag data API to ASCII doc
* Fix some javadocs and documentation details
|
|
|
|
|
|
| |
* Remove API for setting arbitrary drag data
* Store the drag source component in the UI
Fixes #8893
|
|
|
|
|
|
| |
* Initial documentation for 8.1 Drag and Drop
Part of #8395
|
|
|
|
|
|
| |
Error on formatting at line 299
Change-Id: I8ca16880dd77def9e01b5d51c3186cb0ed4fba41
|
|
|
|
| |
Change-Id: I2504bb10f1ae73ec0cbc08b7ba5a88925caa1674
|
|
|
|
|
|
| |
This reverts commit f6874bde3d945c8b2d1b5c17ab50e2d0f1f8ff00.
Change-Id: I67ee1c30ba3e3bcc3c43a1dd2e73a822791514bf
|
|
Change-Id: I767477c1fc3745f9e1f58075fe30c9ac8da63581
|