aboutsummaryrefslogtreecommitdiffstats
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite HierarchyMapper to consistently handle changes Teemu Suo-Anttila2017-06-151-1/+1
| | | | | | Fixes #9449 Fixes #9490 Fixes #9448 Fixes #9465
* Allow changing the renderer of hierarchy column in TreeGrid (#9514)Teemu Suo-Anttila2017-06-133-22/+53
| | | Addresses #9465
* Add methods for setting the date as an ISO value for date fieldsArtur2017-06-127-69/+184
|
* Add handler for row height changing in GridTeemu Suo-Anttila2017-06-121-0/+6
| | | Fixes #9488
* Add mouse event details to the drop event (#9485)Adam Wagner2017-06-072-2/+15
| | | Fixes #9483
* Show empty selection caption in ComboBox (#9468)Teemu Suo-Anttila2017-06-052-6/+33
| | | Fixes #9079
* Allow grid columns to optionally shrink to be narrower than contentsArtur2017-05-302-3/+52
| | | Fixes #8548
* Add since tags and javadocsHenri Sara2017-05-301-0/+20
|
* Find active connector anywhere in the DOM (#9429)Artur2017-05-261-3/+5
| | | Fixes #9419
* Fix Escalator javadocs (#9421)Pekka Hyvönen2017-05-241-2/+3
|
* Fix drop indicator when Grid is scrolled (#9417)Pekka Hyvönen2017-05-242-14/+58
| | | | | 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.
* Fix missing drag image on FF, Safari (#9409)Pekka Hyvönen2017-05-233-77/+244
| | | | | | | | | When CSS transform has been applied, the drag image is missing (safari), or gets offset (FF). Fixed by using custom drag image without transform, and checking for transforms on parent DOM tree. Does NOT fix #9408 When there are frozen columns used, the image needs should not look weird because of the frozen column transitions. The multiselection column is now not shown it is frozen. Fixes #9261
* New Tree component themeIlia Motornyi2017-05-231-2/+4
| | | Fixes #9310
* Add MultiSelection support for Tree Component (#9354)Teemu Suo-Anttila2017-05-232-1/+84
|
* Add style name to all dragged rows (#9388)Adam Wagner2017-05-212-20/+89
| | | * 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-0/+16
| | | Closes #9223
* Reorganize packages of connectors introduced in 8.1 (#9340)Aleksi Hietanen2017-05-194-8/+7
| | | | | | | | * Move Tree and TreeGrid connectors to different package * Move grid renderers to correct package Only renderers introduced in 8.1 have been moved for backwards compatibility.
* Fix resetting of last filter in VComboBox (#9381)Matti Tahvonen2017-05-191-1/+0
| | | | | | Currently the reset method resets the lastFilter as well and then the logic thinks items don’t need to be refreshed when popup is reopened. Fixes #9027 Fixes #7790
* Make it possible for drop target to accept both files and other data (#9382)Adam Wagner2017-05-192-13/+47
|
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-181-43/+93
| | | | Also makes sure that the drop location and target row return something sensible in drop event. Clarifies docs on drop location.
* Fix DnD issues regarding data type text (#9347)Adam Wagner2017-05-172-9/+18
| | | | | | | * First dragged data should not contain new line character at the beginning * Return any of "text", "Text" or "text/plain" in the method of getDataTransferText() * Set only data of type "text" for IE on dragstart * Clarify return of getDataTransferText() method * Ignore generated data that is null
* Fix NPE when detaching DragSource & DropTarget on client side (#9341)Pekka Hyvönen2017-05-173-32/+41
| | | | | | | | When the component the extensions have been attached to are removed, there was an NPE due to getParent() not being available anymore. Fixed by not doing clean up on those cases as it is not necessary. Fixes #9101 * Add back missing detach call
* Remove deprecation from setTag and throw on subsequent callsTeemu Suo-Anttila2017-05-172-5/+10
|
* Fix drag image offset for Grid rows for mobile (#9336)Pekka Hyvönen2017-05-173-31/+66
| | | | Asks the polyfill to always center the drag image based on the touch coordinates. Also temporarely removes the transform offset for the row.
* Fix Button as a Html5 DragSource (#9346)Pekka Hyvönen2017-05-172-33/+6
| | | | | | * Fix Button as a Html5 DragSourcei It was completely broken, not being clickable, and also preventing anything else from being clicked.
* Make it possible for grid drop target to accept dragged data when grid is ↵Adam Wagner2017-05-172-13/+55
| | | | | | empty (#9332) * Make it possible for grid drop target to accept dragged data when grid is empty (#9068) * Make return type of getDropTargetRow() optional
* Remove unnecessary rowmode prefix from TreeGrid focus styles (#9327)Teemu Suo-Anttila2017-05-162-11/+2
|
* Move HierarchicalDataCommunicatorConstants to the correct packageAleksi Hietanen2017-05-163-3/+3
|
* Make HierarchyRendererCellReferenceWrapper a nested class of HierarchyRendererAleksi Hietanen2017-05-162-60/+39
|
* Rename BodyRowContainer.setNewEscalatorRowCallback to setNewRowCallbackAleksi Hietanen2017-05-163-5/+5
|
* Rename TreeGridCommunicationConstants to HierarchicalDataCommunicatorConstantsAleksi Hietanen2017-05-163-22/+22
|
* Add javadoc to client-side TreeGrid widgetAleksi Hietanen2017-05-161-0/+4
|
* Improvements to HierarchyRendererAleksi Hietanen2017-05-161-5/+12
| | | | | - Make HierarchyRenderer.ExpanderState private - Add javadocs to HierarchyRenderer#setStyleNames
* Add API for multiple drag data generators (#9321)Adam Wagner2017-05-162-52/+68
| | | | * 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-163-25/+55
|
* Distinguish between touch scroll and drag start on Grid (#9315)Pekka Hyvönen2017-05-151-3/+40
| | | | * Set touch scroll timeout for Grid on GridDragSource
* Use theme font and normal line wrapping for regular tooltips (#9143)Leif Åstrand2017-05-151-0/+1
| | | Fixes #9121
* WIP: Allow differentiating touch scroll from DnD (#9309)Henri Sara2017-05-141-0/+72
| | | | | | | * Allow differentiating touch scroll from DnD Provide Escalator API to check if a touch scroll is active, and to specify a delay after which a non-moving touch should not scroll.
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-1223-136/+200
| | | | | | | | * Refactor Html5 DnD client side based on API review - Moved classes to "correct" packages. - Removed method DragSourceExtension.clearDataTransferText() - Remove ButtonDragSource in favor of more generic API
* Poll server for changes at the end of each file upload (#9300)Adam Wagner2017-05-111-0/+2
| | | | * Poll server for changes at the end of each file upload
* Fix broken DragEnd event introduced in a recent PR (#9297)Pekka Hyvönen2017-05-111-1/+1
|
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-114-9/+108
| | | | | | | | | | | | | | | 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/+202
| | | Fixes #8891
* Generate style name on every dragenter (#9292) (#9293)Adam Wagner2017-05-111-4/+5
| | | Fixes #9292
* Make clicking checkbox label call focus listeners (#9271)Knoobie2017-05-111-3/+3
| | | | | Fixes the remaining issue from #3944 for Firefox so that a click on the checkbox label calls the focus listener. Fixes #9290
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-111-1/+2
| | | | | | Reset HDC when encountering unexpected changes in the data. Additionally this patch fixes an issue with client and server caches getting out of sync during resets.
* Fix partly missing drag image regression on SafariPekka Hyvönen2017-05-102-33/+103
| | | | Doesn't fix #9261, drag image missing on Safari when dragging grid row because that has position: absolute and offset.
* Allow custom click handlers in subclasses of TreeGridHenri Sara2017-05-101-1/+1
|
* Fix selection with space in TreeGrid/TreeHenri Sara2017-05-101-4/+4
| | | Makes subclasses of Grid call custom key and mouse event handlers.
* Refactor WidgetUtil.findWidget()Henri Sara2017-05-107-28/+85
| | | | | | | Adds two variants: - find widget of any type - accept all or only exact matches Updates uses of findWidget(e, null) in non-compatibility packages.