aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/data/provider
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range (#12507)Anna Koskinen2022-01-1132-32/+32
|
* feat: Add better API to configure maximum allowed rows (#12466)Tatu Lund2021-11-031-4/+14
| | | | | | | * feat: Add better API to configure maximum allowed rows * Add unit test Co-authored-by: Olli Tietäväinen <ollit@vaadin.com>
* fix: Add row limit to DataCommunicator row data requests (#12415)Tatu Lund2021-09-301-0/+15
| | | | | | | | | | | * Add row limit to DataCommunicator row data requests * Add missing constant * Add unit test * Add test for extending Grid * Fixed test
* Update copyright year range. (#12215)Anna Koskinen2021-03-0432-32/+32
| | | | * Update copyright year range.
* Ensure type safety and serializable nature of all the listeners (#12045)Tatu Lund2020-07-031-2/+2
|
* Fixed the JavaDoc (#11950)Vesa Nieminen2020-04-211-2/+2
| | | | | HierarchyMapper. getParentIndex() method has a different JavaDoc from the HierarchicalDataCommunicator. This is a simple fix for that. https://github.com/vaadin/framework/blob/master/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java#L96
* TreeDataProvider: Apply filters to children (#11868)Tatu Lund2020-01-161-2/+13
| | | | | Fixes: https://github.com/vaadin/framework/issues/9933 Cherry pick from: https://github.com/vaadin/flow/pull/7317
* Reduce Grid's sort complexity. (#11566)Anna Koskinen2019-05-152-10/+61
| | | | | | - limit DataCommunicator workaround from #11320 to ComboBox only - don't reset DataCommunicator before modifying all sorting data Fixes #11532
* Request data update before client response (#11341)Sun Zhe2018-12-111-0/+1
| | | | | | | | | * Request data update before client response * fix the accidental commit * add tests fixes #11320
* Refactoring DataCommunicator code (#11304)Anastasia Smirnova2018-11-151-9/+9
| | | | | | | This refactoring addresses two issues cased by dropping updatedData before it was processed. Issues arise , when visibility has change. Fixes #11274 and similar issue within RadioButton There is no reliable way to test automatically NativeSelects in Grid, but adding UI test, at least
* Updating since tags (#11200)8.6.0.alpha2Mehdi Javan2018-09-211-2/+2
|
* Remove objects from ActiveDataHandler that are no longer available in used ↵Ilia Motornyi2018-09-071-0/+26
| | | | | | DataProvider (#11167) Remove objects from DataCommunicator.ActiveDataHandler that are no longer available in used DataProvider.
* Fix DataCommunicator not sending data on filter updates (#11068)Teemu Suo-Anttila2018-07-191-0/+3
|
* Fix expanding an added TreeGrid node (#11018)Teemu Suo-Anttila2018-07-021-7/+4
| | | Fixes #9997
* Fix TabSheet attaching and detaching components (#10988)Teemu Suo-Anttila2018-06-191-5/+5
| | | | | | | This patch reverts the fix #10557 and replaces it with a proper solution from Grid perspective. Fixes #10987 Fixes #10985
* Fix Grid initial data when changing TabSheet Tab (#10872)Teemu Suo-Anttila2018-05-041-0/+5
|
* Enable Maven plugin for Eclipse formatting (#10829)Ilia Motornyi2018-04-196-40/+51
|
* Update copyright year (#10761)Ilia Motornyi2018-03-2732-32/+32
|
* Add recursive expand and collapse method to TreeGrid and Tree (#10283)Adam Wagner2018-02-082-45/+191
|
* Fix code example in DataProvider JavaDoc (#10601)Ilia Motornyi2018-02-051-1/+1
|
* Fix Grid not updating selected item immediately (#10569)Teemu Suo-Anttila2018-01-251-12/+9
|
* Fix issues from API review for 8.2 (#10342)Aleksi Hietanen2017-11-211-3/+3
| | | | | | | | | | | | | | | | | * 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
* Relax mapper access in HierarchicalDataCommunicator Ilia Motornyi2017-11-101-0/+8
| | | Fixes #10292
* HasItems.setItems(T... items) should allow edits (#10290)Pekka Hyvönen2017-11-061-1/+2
| | | | | | | | | * HasItems.setItems(T... items) should allow edits Arrays.asList() creates a immutable Arrays.ArrayList, preventing users from doing dataProvider.getItems() and updating the returned collection. This makes it impossible to keep the same data provider, update it and keep the filters & sorting, and then just call dataProvider.refreshAll() to get changes visible. We should not require users to create a new data provider in this case. This is the same for DataProvider.ofItems(T... items) * fix missing whitespace from test error message
* Relax TreeGrid and Tree members access modifiers. (#10293)Ilia Motornyi2017-11-062-5/+34
| | | | | | | | * Relax TreeGrid and Tree members access modifiers. Fixes #10292 * Fixes after review
* Remove redundant interface already implemented by super class. (#10258)Ahmed Ashour2017-10-311-2/+1
|
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-262-37/+37
|
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-201-2/+1
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-121-1/+1
|
* Prevent Grid refreshAll from getting stuck due mismatched state (#10161)Ansku2017-10-101-3/+0
| | | Fixes #10038
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-102-2/+2
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* First sentence of javadoc should end with a period (#10114)Ahmed Ashour2017-10-023-12/+18
| | | Also includes minor other javadoc and formatting fixes.
* Fix javadoc references (#10067)Ahmed Ashour2017-09-232-3/+2
| | | And remove unused imports.
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-211-1/+1
| | | Also includes some other minor cleanup.
* Add scroll logic from TreeGrid to Tree (#10005)Piotr Wilkin2017-09-202-2/+2
| | | Fixes #9967
* Optimize HierarchyMapper (#10003)Piotr Wilkin2017-09-191-10/+8
| | | Fixes parts of #9951, but does not address the issue of grouping pushed updates.
* Remove unneeded ArrayList constructionAhmed Ashour2017-09-191-1/+1
|
* Fix null check in BackEndDataProvider (#9858)Henri Sara2017-08-231-1/+1
| | | Fixes #9855
* Use getter instead of field for keyMapper (#9831)Leif Åstrand2017-08-171-1/+1
|
* Fix TreeData item removal, small improvements (#9621)Ilia Motornyi2017-07-034-10/+12
| | | Fixes #9614
* Fix bookkeeping assertion errorIlia Motornyi2017-06-301-0/+1
| | | Fixes #9584
* Fix keymapper reverse mapping (#9535)Ilia Motornyi2017-06-213-21/+50
| | | Fixes #9470
* Add missing JavaDoc to DataCommunicatorTeemu Suo-Anttila2017-06-161-0/+13
|
* Rewrite HierarchyMapper to consistently handle changes Teemu Suo-Anttila2017-06-153-798/+576
| | | | | | Fixes #9449 Fixes #9490 Fixes #9448 Fixes #9465
* Fix method link in ActiveDataHandler JavaDoc (#9525)Ilia Motornyi2017-06-141-1/+1
|
* Correctly use id to identify data when refreshing (#9398)Teemu Suo-Anttila2017-05-233-21/+34
| | | | | | This patch refactors the internals of Grid single selection model implementation. Fixes #9380
* Clarify TreeData and TreeDataProvider javadocs, improve documentation (#9349)Aleksi Hietanen2017-05-181-3/+4
|
* Add getters for providers to Tree and TreeGridTeemu Suo-Anttila2017-05-171-12/+27
|
* Add BackEndHierarchicalDataProvider and an abstract base classAleksi Hietanen2017-05-162-0/+126
|
* Add ItemCollapseAllowedProvider interfaceAleksi Hietanen2017-05-161-3/+3
|