aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/components/grid
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range (#12507)Anna Koskinen2022-01-1148-48/+48
|
* Fix validation in non-buffered Grid editor (#12281)Tarek Oraby2021-04-281-0/+5
| | | | | Handle possible race condition by disabling the editor's widget while awaiting validation from the server. Fixes #12270
* Update copyright year range. (#12215)Anna Koskinen2021-03-0448-48/+48
| | | | * Update copyright year range.
* Merged column headers should work within declarative Grid. (#12206)Anna Koskinen2021-02-261-9/+13
| | | | | | | | | - null check to prevent NPE from the merged column headers - convert to internal columnIds for merge handling - use correct cell in merge handling - switch away from streams in merge handling for easier readability - regression test Fixes: #10464
* Replace function reference with anonymous class for serialization (#12137)Tatu Lund2020-11-261-19/+20
| | | | | Lambdas and function references do not serialize See: https://vaadin.com/forum/thread/18462951/vaadin-8-stateful-session
* Add API to detect if GridMultiSelect select-all checkbox is checked (#12086)Tarek Oraby2020-08-263-9/+27
|
* Ensure type safety and serializable nature of all the listeners (#12045)Tatu Lund2020-07-036-18/+12
|
* Refresh DataProvider only once when reordering the grid using GridRowDragger ↵Martín López2020-05-111-1/+5
| | | | | (#11981) Fixes #10844
* Check actual Grid selection instead of relying on allSelected flag. (#11787)Anna Koskinen2019-11-041-8/+19
| | | | | | | | The checkbox for selecting all rows only selects all the rows that have not been filtered out. Changing the filtering does not change the selection or the checkbox state so assuming that all rows are selected simply because the checkbox has been checked cannot work. Fixes #11479
* Removal of data communicator needs to happen before call to super.remove() ↵Tatu Lund2019-09-091-2/+2
| | | | | | | (#11710) Removal of data communicator needs to happen before call to super.remove() since super.remove() sets parent to null causing the NPE. Fixes https://github.com/vaadin/framework/issues/11617
* Detailed the usage of the GridRowDragger class (#11355)edler-san2018-12-051-1/+2
|
* Code formatting (#11278)Sun Zhe2018-11-062-2/+2
|
* Revert change to fix issue on removing Grid with components (#11224)Sun Zhe2018-10-122-2/+2
| | | | | | | | | | * Test case for removing Grid with components * This reverts commit b2745dc14f17b510df7321ab3f6285ed317da3b3. Add test case to address the issue with removing gird with components; Current situation: the grid cannot be removed and client-side throw an error. fixes: Revert the corresponding change, as it didn't address any issue which was fixed.
* Fixing typo (#11207)Mehdi Javan2018-09-261-1/+1
|
* Updating since tags (#11200)8.6.0.alpha2Mehdi Javan2018-09-212-2/+2
|
* Fix handler creation to happen on init (#11172)Teemu Suo-Anttila2018-09-072-2/+2
| | | | Fix handler creation to happen on init
* Add API to access features of SelectionModels (#10939)Teemu Suo-Anttila2018-09-042-0/+542
|
* Fix Grid MultiSelectionModel to always use getId (#11086)Teemu Suo-Anttila2018-07-301-24/+26
| | | Fixes #11083
* Fix canceling Grid Editor during EditorOpenEvent (#11038)Teemu Suo-Anttila2018-07-111-1/+1
| | | Fixes #11002
* Enable Maven plugin for Eclipse formatting (#10829)Ilia Motornyi2018-04-193-31/+33
|
* Update release notes and since tags for 8.4 (#10760)Teemu Suo-Anttila2018-03-273-16/+18
|
* Update copyright year (#10761)Ilia Motornyi2018-03-2746-46/+46
|
* Setting of tooltips for grid header/footer cells (#10489)Artur2018-03-133-0/+184
| | | Fixes #7527
* Create DescriptionGenerator in package com.vaadin.ui (#10346)Aleksi Hietanen2017-11-211-3/+4
| | | | Deprecate com.vaadin.ui.components.grid.DescriptionGenerator and subclass it from the new DescriptionGenerator.
* Fix issues from API review for 8.2 (#10342)Aleksi Hietanen2017-11-217-35/+32
| | | | | | | | | | | | | | | | | * Rename HierarchicalDataCommunicator#getMapper to getHierarchyMapper * Make rpc field in Notification private * Change DropIndexCalculator.ALWAYS_DROP_TO_END to a generic static method * Move EditorImpl#editRow documentation to the interface level * Correct GridDragEndEvent, GridDragStartEvent constructor javadocs * Revert SharedState.registeredEventListeners to a Set * Rename GridDropTarget dropAllowedOnSortedGridRows * Rename ColumnState.contentMode to tooltipContentMode
* Rename GridDragger to GridRowDragger (#10333)Pekka Hyvönen2017-11-176-13/+13
| | | 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-163-5/+43
| | | | This pathc also switches GridDragger to by default not allow drops on rows when the grid has been sorted.
* Update since tags in JavaDoc (#10325)8.2.0.alpha3Teemu Suo-Anttila2017-11-156-8/+8
|
* Add helper for Grid row DnD (#10255)Pekka Hyvönen2017-11-158-14/+682
| | | | | | | | | | | | | | | | | | * Added Griddragger. * Refactored the GridDragger to match FW style Unit tests, Test UI and documentation to come next. * Change DropMode to BETWEEN and add Test UIs * Simplify GridDragger API * Fixes and unit tests for GridDragger Fixed issues regarding drop index calculation when sourche and target grid is the same. When the ListDataProvider is not internally using List, always drops to the end. Updates the old data provider instead of creating a new one to preserve filters&sorting.
* Add new drop mode ON_GRID for GridDropTarget (#10296)Pekka Hyvönen2017-11-152-14/+129
| | | | | | | | | | | | | | | | | * 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.
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-263-2/+5
| | | Also use "event" as the name for events
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-266-19/+19
|
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-202-10/+12
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-201-3/+2
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-121-1/+1
|
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-102-0/+47
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* Don't use synthetic methods for listener classes. (#10135)Ahmed Ashour2017-10-045-11/+16
| | | Fixes #9504
* Use single character for StringBuilder.append (#10102)Ahmed Ashour2017-09-281-10/+13
|
* Add header and footer visibility setting to Grid (#9706)Teemu Suo-Anttila2017-08-011-0/+24
|
* Add editor open event to Grid Editor (#9623)Teemu Suo-Anttila2017-07-034-0/+137
| | | Fixes #9596
* Create drag source and drop target extensions for tree grid (#9463)Adam Wagner2017-06-284-0/+301
| | | Resolves #9372
* Add mouse event details to the drop event (#9485)Adam Wagner2017-06-072-4/+10
| | | Fixes #9483
* Add since tags and javadocsHenri Sara2017-05-301-0/+1
|
* Fix drop indicator when Grid is scrolled (#9417)Pekka Hyvönen2017-05-241-2/+3
| | | | | 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.
* Make select all work with TreeGrid (#9412)Aleksi Hietanen2017-05-231-3/+60
| | | Fixes #9403
* Correctly use id to identify data when refreshing (#9398)Teemu Suo-Anttila2017-05-232-42/+23
| | | | | | This patch refactors the internals of Grid single selection model implementation. Fixes #9380
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-182-10/+32
| | | | 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-3/+5
| | | | | | 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 API for multiple drag data generators (#9321)Adam Wagner2017-05-161-42/+78
| | | | * 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-162-13/+22
|