| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Handle possible race condition by disabling the editor's widget while awaiting validation from the server.
Fixes #12270
|
|
|
|
| |
* Update copyright year range.
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
Lambdas and function references do not serialize
See: https://vaadin.com/forum/thread/18462951/vaadin-8-stateful-session
|
| |
|
| |
|
|
|
|
|
| |
(#11981)
Fixes #10844
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
(#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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
Fix handler creation to happen on init
|
| |
|
|
|
| |
Fixes #11083
|
|
|
| |
Fixes #11002
|
| |
|
| |
|
| |
|
|
|
| |
Fixes #7527
|
|
|
|
| |
Deprecate com.vaadin.ui.components.grid.DescriptionGenerator
and subclass it from the new DescriptionGenerator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
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.
|
|
|
| |
Also use "event" as the name for events
|
| |
|
|
|
|
|
|
|
|
| |
* Use .toLowerCase and .toUpperCase(Locale.ROOT)
* Spaces
* add spaces after if(
|
|
|
|
|
|
|
|
| |
* Simplify lambda expressions
And remove unneeded 'return' keyword.
* Format
|
| |
|
|
|
|
|
| |
Opening grid editor from server side.
Fixes #8477.
Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
|
|
|
| |
Fixes #9504
|
| |
|
| |
|
|
|
| |
Fixes #9596
|
|
|
| |
Resolves #9372
|
|
|
| |
Fixes #9483
|
| |
|
|
|
|
|
| |
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.
|
|
|
| |
Fixes #9403
|
|
|
|
|
|
| |
This patch refactors the internals of Grid single selection model
implementation.
Fixes #9380
|
|
|
|
| |
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 ability to set multiple drag data generators for any drag data type
and change default to be accepted by spreadsheet applications such as Excel
|
| |
|