Olli Tietäväinen
613f36ff23
Grid column npe behavior (#11390)
* add possibility to configure nested null behavior to Grid.Column
* added addColumn method that allows configuring the nested null handling behavior of the column
* added uitest for nested null value handling, implements #11137
pirms 5 gadiem
mlindfors
3a7112895e
Fix Grid's frozen columns not being set (#10653) (#11346)
In certain cases setting the frozen columns didn't produce the expected result in the client side widget state. This happened if the frozen columns value was set to be the same it was before removeAllColumns was called.
This fix removes the frozen column value from the diff state so that the value gets properly set in the client side.
Closes #10653
pirms 5 gadiem
Sun Zhe
b20a9a8318
Code formatting (#11278)
pirms 5 gadiem
Tatu Lund
6266f11b6d
Improve setStyleGenerator JavaDocs (#11262)
Added note that style generator is not applied to the Editor
See also: https://github.com/vaadin/framework/issues/11169
pirms 5 gadiem
Sun Zhe
2c59809dd2
Run formatter to the code (#11227)
pirms 5 gadiem
Tatu Lund
65b1312b1b
Updated JavaDoc of getColumn(..) method (#11179)
* Updated JavaDoc of getColumn(..) method
Fixes https://github.com/vaadin/framework/issues/9920
pirms 5 gadiem
Teemu Suo-Anttila
5a24c48655
Add API to access features of SelectionModels (#10939)
pirms 5 gadiem
Teemu Suo-Anttila
c99ac74e86
Fix TabSheet attaching and detaching components (#10988)
This patch reverts the fix #10557 and replaces it with a
proper solution from Grid perspective.
Fixes #10987
Fixes #10985
pirms 6 gadiem
Teemu Suo-Anttila
44657a705d
Fix Grid not removing columns from sort order
Fixes #10928
pirms 6 gadiem
Teemu Suo-Anttila
a4e2d461d5
Fix Grid clearSortOrder not updating state (#10917)
Fixes #9074
pirms 6 gadiem
Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
pirms 6 gadiem
Teemu Suo-Anttila
da8f5adcae
Fix Grid Column not sortable with backend data and sort property (#10811)
pirms 6 gadiem
Teemu Suo-Anttila
78daf54cbf
Update release notes and since tags for 8.4 (#10760)
pirms 6 gadiem
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
pirms 6 gadiem
Tatu Lund
98be8f19d0
Add row index to ItemClickEvent in Grid (#10754)
pirms 6 gadiem
Aki Väliaho
f3e06f4f41
Add API for accessing PropertySet of Grid (#10714)
pirms 6 gadiem
Daniel Schwering
498b2d1892
Removed misleading Javadoc, as double can never be null (#10722)
pirms 6 gadiem
Ilia Motornyi
f44f4f1b51
8.3.2 since (#10678)
* @since 8.3.2
pirms 6 gadiem
Piotr Wilkin
fd4dedf921
Fixes Grid editor visibility inside TabSheet (#10557)
Fixes #10146
Fixes #10543
pirms 6 gadiem
Teemu Suo-Anttila
0cf678cad1
Fix Column.setSortable being overridden (#10604)
pirms 6 gadiem
Leif Åstrand
c905ac6adf
Rename widgetEventsAllowed to handleWidgetEvents (#10529)
pirms 6 gadiem
Teemu Suo-Anttila
580d607444
Add missing since tags and JavaDocs (#10487)
pirms 6 gadiem
Teemu Suo-Anttila
46da9629b1
Implement widget event handling for Columns in Grid (#10412)
Fixes #7833
pirms 6 gadiem
Olli Tietäväinen
30fdd68d44
Update Grid.addColumn JavaDoc to tell about nested properties (#10431)
pirms 6 gadiem
Leif Åstrand
2fc7554779
Update to JSoup 1.11.2 (#10353)
Also update declarative writing to use true instead of "" for empty
attributes because of changed defaults in JSoup. For v7, the tests are
updated instead of touching the implementations.
pirms 6 gadiem
Aleksi Hietanen
de5c9a394a
Create DescriptionGenerator in package com.vaadin.ui (#10346)
Deprecate com.vaadin.ui.components.grid.DescriptionGenerator
and subclass it from the new DescriptionGenerator.
pirms 6 gadiem
Aleksi Hietanen
f805482c60
Fix issues from API review for 8.2 (#10342)
* 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
pirms 6 gadiem
Pekka Hyvönen
ce3efd94b3
Add documentation on GridDragger (#10328)
This pathc also switches GridDragger to by default not allow drops on rows when the
grid has been sorted.
pirms 6 gadiem
Teemu Suo-Anttila
ed57efc07e
Update since tags in JavaDoc (#10325)
pirms 6 gadiem
Teemu Suo-Anttila
37bd6b1a32
Add ContentMode for row and cell descriptions in Grid (#10282)
pirms 6 gadiem
Knoobie
e65efdfb50
add Grid.Column#get/setAssistiveCaption (#10219)
* add Grid#Column#get/setAssistiveCaption
* fix test and update doc
* move testGridAssistiveCaption to GridTest
* delete test file
* delete test file
* Delete GridAssistiveCaptionTest.java
* Create GridAssistiveCaptionTest
* Create GridAssistiveCaption
* Rename GridAssistiveCaption to GridAssistiveCaption.java
* Rename GridAssistiveCaptionTest to GridAssistiveCaptionTest.java
* Reformat using eclipse
pirms 6 gadiem
Ahmed Ashour
46d1a95f04
Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)
* Grid column to be sortable when implemented/supported
* Fix GridDeclarativeTest
* Parameterize to Grid<Person>
* Revert Parameterize to Grid<Person>, JDK with generics.
* Assertions for other columns
* Fix test
Fixes #8792
pirms 6 gadiem
Ahmed Ashour
b394dec430
Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)
* Grid.removeColumn() not to fail silently (Fixes #8056 )
* Compilation with JDK
* Fix removeColumnByColumn_alreadyRemoved test
* Use ExpectedException
pirms 6 gadiem
Ahmed Ashour
780e9cee6b
Simplify lambda expressions (#10198)
* Simplify lambda expressions
And remove unneeded 'return' keyword.
* Format
pirms 6 gadiem
Ahmed Ashour
13d406a708
Remove redundant null checks before an instanceof (#10173)
pirms 6 gadiem
Ahmed Ashour
ab18b6c58e
Remove unneeded .toString() (#10141)
pirms 6 gadiem
Ahmed Ashour
763a5cbe8c
First sentence of javadoc should end with a period (#10114)
Also includes minor other javadoc and formatting fixes.
pirms 6 gadiem
JenoDK
9776ea2e85
Fix DataCommunicator parameter not used in Grid constructor (#10075)
Fixes #9944
pirms 6 gadiem
Ahmed Ashour
1b8d507e5b
Replace iff with if in javadoc (#10056)
pirms 6 gadiem
Piotr Wilkin
634c0cc310
Add scroll logic from TreeGrid to Tree (#10005)
Fixes #9967
pirms 6 gadiem
Ahmed Ashour
8657a5ff49
Remove unused methods (#10020)
pirms 6 gadiem
Aleksi Hietanen
13961956f6
Minor javadoc improvements (#9885)
pirms 6 gadiem
Teemu Suo-Anttila
563b0abb73
Fix state update on Grid Column hide in client (#9836)
Fixes #9152
pirms 6 gadiem
Teemu Suo-Anttila
4cd7965fda
Use correct version in since for Grid row height methods (#9824)
Related to #9425 .
pirms 6 gadiem
Teemu Suo-Anttila
bda7e54cb6
Provide API for setting row heights in Grid for different sections (#9810)
Fixes #9425
pirms 6 gadiem
Teemu Suo-Anttila
7cf466fa7f
Add header and footer visibility setting to Grid (#9706)
pirms 7 gadiem
Teemu Suo-Anttila
95087a8482
Add API for forcing Grid column width calculation (#9756)
This feature was present in Vaadin 7 but missing from Vaadin 8
pirms 7 gadiem
Ilia Motornyi
6e6fb1a474
Clarification for GridContextClickEvent
pirms 7 gadiem
Teemu Suo-Anttila
4d085fd8b3
Map column components by id (#9624)
Fixes #9452
pirms 7 gadiem
Henri Sara
b2c0ac2bac
Use HasUserOriginated interface where appropriate (#9608)
pirms 7 gadiem