aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/advanced/advanced-dragndrop.asciidoc
Commit message (Collapse)AuthorAgeFilesLines
* Remove double negation (#11713)eriklumme2019-09-061-1/+1
| | | "doesn't not" should be either "doesn't" or "does not".
* Removed ';' in lambdas (#11628)Zhe Sun2019-06-271-4/+4
| | | | | | | | * Removed ';' in lambdas credits to @voltor * Merge branch 'master' into ZheSun88-patch-1
* Fix broken link to mobile d&d polyfill (#11127)haiwan2018-08-231-1/+1
|
* Fix Grid stylename in documentation (#11130)haiwan2018-08-221-1/+1
|
* Update advanced-dragndrop.asciidoc (#10680)Anastasia Smirnova2018-03-071-3/+13
| | | | | | | | | | | | | | | * 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
* Rename GridDragger to GridRowDragger (#10333)Pekka Hyvönen2017-11-171-8/+8
| | | The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.
* Add documentation on GridDragger (#10328)Pekka Hyvönen2017-11-161-0/+58
| | | | 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 (#10296)Pekka Hyvönen2017-11-151-2/+9
| | | | | | | | | | | | | | | | | * 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.
* Remove warnings about pre-release content in documentation (#9737)Henri Sara2017-07-261-2/+0
| | | Resolves #9191
* Create drag source and drop target extensions for tree grid (#9463)Adam Wagner2017-06-281-0/+5
| | | Resolves #9372
* Fix drop indicator when Grid is scrolled (#9417)Pekka Hyvönen2017-05-241-2/+4
| | | | | 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 (#9388)Adam Wagner2017-05-211-0/+2
| | | * Add style name to all dragged rows to indicate that they are being dragged
* Add style automatically to indicate that an element is being dragged (#9385)Adam Wagner2017-05-191-3/+7
| | | Closes #9223
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-181-5/+9
| | | | Also makes sure that the drop location and target row return something sensible in drop event. Clarifies docs on drop location.
* Make it possible for grid drop target to accept dragged data when grid is ↵Adam Wagner2017-05-171-2/+9
| | | | | | 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 (#9337)Teemu Suo-Anttila2017-05-161-1/+3
| | | | * Add mention of context menu and DnD collision on mobile devices
* Add API for multiple drag data generators (#9321)Adam Wagner2017-05-161-14/+14
| | | | * 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
* Add API to store any type of data in the dataTransfer object (#9319)Adam Wagner2017-05-161-3/+18
|
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-111-6/+44
| | | | | | | | | | | | | | | 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
* Make it possible to upload files by dropping them onto a drop target (#9277)Adam Wagner2017-05-111-0/+64
| | | Fixes #8891
* Fix partly missing drag image regression on SafariPekka Hyvönen2017-05-101-9/+13
| | | | Doesn't fix #9261, drag image missing on Safari when dragging grid row because that has position: absolute and offset.
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-051-5/+4
| | | | | | | | | | | | - 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.
* Mention the applied CSS styles in the documentation (#9219)Adam Wagner2017-05-031-1/+19
|
* Disable drag and drop for touch devices (#9216)Adam Wagner2017-05-021-0/+5
|
* Add method for checking whether drag event was cancelled (#9214)Adam Wagner2017-05-021-2/+8
|
* Add note that multiple selection drags only visible rows (#9093) (#9198)Adam Wagner2017-04-301-0/+5
|
* Grid drag and drop documentation (#9055)Adam Wagner2017-04-131-0/+105
|
* Add API support for setting server side drag data (#8915)Adam Wagner2017-03-241-0/+15
| | | | | | | | | | * 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 support for transfer data type (#8910)Adam Wagner2017-03-221-9/+6
| | | | | | * 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 (#8867)Pekka Hyvönen2017-03-201-497/+66
| | | | | | * Initial documentation for 8.1 Drag and Drop Part of #8395
* Update advanced-dragndrop.asciidocGuglielmo Moretti2016-05-021-1/+1
| | | | | | Error on formatting at line 299 Change-Id: I8ca16880dd77def9e01b5d51c3186cb0ed4fba41
* Add documentation to master branchMarkus Koivisto2016-01-221-0/+567
| | | | Change-Id: I2504bb10f1ae73ec0cbc08b7ba5a88925caa1674
* Revert "Merge branch 'documentation'"7.6.0.beta2Ilia Motornyi2015-12-031-567/+0
| | | | | | This reverts commit f6874bde3d945c8b2d1b5c17ab50e2d0f1f8ff00. Change-Id: I67ee1c30ba3e3bcc3c43a1dd2e73a822791514bf
* Framework documentation INelmot2015-09-251-0/+567
Change-Id: I767477c1fc3745f9e1f58075fe30c9ac8da63581