Tatu Lund
ca3af82272
Sanitize caption used in Grid header
Cherry pick of https://github.com/vaadin/framework/pull/11644
5 years ago
Olli Tietäväinen
738f620b73
Empty sinces for 7.7.14 (#11114)
5 years ago
Ilia Motornyi
f7279f7330
Update Copyright headers for year 2018 (#10762)
6 years ago
Leif Åstrand
002c188e2b
Allow configuring content modes for Grid cell tooltips (#10396)
6 years ago
Artur
d03e6a5817
Correctly detach header/footer components when column is removed (#8645)
* Correctly detach header/footer components when column is removed
Fixes #8638
* Merge branch '7.7' into _detach-header-components-on-remove-column
* Merge branch '7.7' into _detach-header-components-on-remove-column
* Merge branch '7.7' into _detach-header-components-on-remove-column
7 years ago
Teemu Suo-Anttila
3a39feca66
Remove unnecessary full classnames and parenthesis from code (#8681)
This change aims to reduce the number of false positives when comparing Vaadin 7 compatibility package in Vaadin 8 and actual Vaadin 7.7 branch. Conflicting parts are moved to imports as much as possible. Files have been formatted with same Eclipse version.
7 years ago
Pekka Hyvönen
1d6fcdc543
Update missing since tags for 7.7.7 (#8474)
* Add missing since tags for 7.7.7
7 years ago
Artur
7be7afaa25
Add method for refreshing all Grid rows (#8406)
* Add method for refreshing all Grid rows
Fixes #8350
7 years ago
Artur
131e4f34bd
Make it possible to disallow user selection in Grid (#8144)
Fixes #7880
7 years ago
Adam Wagner
870a4d9ab3
Improve Grid extendability (#8343)
* Improve Grid extendability (#8342 ).
Find GridState field type using getField() instead of getDeclaredField() so that the field could be found in superclass as well.
Change-Id: I33996f45e848575d11bb206c6a1d30d19e514968
7 years ago
Artur
90f75534c3
Properly report invalid arguments to StaticRow.join() (#8243)
* Properly report invalid arguments to StaticRow.join()
Closes #8234
7 years ago
Artur
ef729f355b
Correctly detach components in merged cells when a static row is removed (#8142)
Fixes #8140
7 years ago
Artur
5951c9f255
Replace non-breaking spaces with space (#7957)
7 years ago
Pekka Hyvönen
e944b2bda4
Update @since tags for 7.7.5
Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f
7 years ago
Patrik Lindström
9a0b4e9827
Add lazy/simple resize mode to Grid (#20108)
Change-Id: I47427efc28c350382dba8c1f50fd332a3f4585e4
7 years ago
adam
7535fbf633
Fix NPE in case some items don't contain all properties of Grid.
This could occur in when parent is a different entity than its children
in hierarchical data.
Change-Id: Icd53b5b5e5544a3680d0cd99702ab78224b2dc08
7 years ago
Artur Signell
04650c5654
Update client side selection state when changing selection model (#20370)
Change-Id: I7fe8c160405a69140cac511c744d89a62c401cca
7 years ago
Artur Signell
643365176a
Send selection change events when changing selection mode (#20391)
Change-Id: Iaeb772981f3ac039bf0fe3cde595cfdb3691cddf
7 years ago
Artur Signell
b3022c7f95
Add Grid.refreshRows to allow refreshing individual rows (#16765)
Change-Id: I554d7b6ca60840bab3a032daa4847e7271086e27
7 years ago
Artur Signell
c7ca048dcc
Check for duplicate property ids when setting Grid columns or column order (#20386)
Change-Id: I76be83642f0e56e55b0c0e502ac6769de1ee8af0
7 years ago
Artur Signell
9c90ed78a1
Never check the selectAll checkbox in an empty grid (#20301)
Change-Id: Ia15edb5a10de9bff047044161ffe83dd09f51098
7 years ago
Artur Signell
c5c52684eb
Format Java files using Eclipse Neon and Vaadin settings
Using the same formatting in the 7.7 branch and the master branch
eases porting of fixes
Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
7 years ago
Artur Signell
45f2fba8ff
Prevent editor from being canceled while it is being saved (#19458)
Change-Id: I062e097134035856f6c120584f48a5f3601bd9ac
7 years ago
Leif Åstrand
20f012cb69
Clarify error message for column mismatches (#18323)
Change-Id: I94b0819b68dbdda96fb1036e503bf63390a800d7
8 years ago
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 years ago
Teemu Suo-Anttila
d004aa1f8b
Fix Components cleanup on Header/FooterRow remove in Grid (#19497)
Change-Id: I596d0cc13b782398b4c5c8338b8370e69862ea88
8 years ago
Teemu Suo-Anttila
614457a95d
Fix Grid DetailsGenerator being removed on Container change (#19593)
Change-Id: Ied328804260b1a7bb35093fca1d972735559cf41
8 years ago
Teemu Suo-Anttila
a214f33999
Add missing @since for 7.6.1
Change-Id: Ic28598e561f0fc325b6f74ace3398d46ba996fb5
8 years ago
Teemu Suo-Anttila
86969a99c2
Add a client-side connector for DetailsComponentManager (#19412)
Change-Id: Ibc4d35a8f729b670d8712743c9da8d608a0ba952
8 years ago
Marlon Richert
bfa4373163
Increase grid column resize handle width (#16838)
Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6
8 years ago
Teemu Suo-Anttila
4e0bfcdd1f
Reapply DataGenerators when container changes (#19357, #19359)
Previously on container change Grid applied only its internal
DataGenerators to the new RpcDataProviderExtension. Now it goes through
all existing Extensions and adds all DataGenerators to the data
provider.
Change-Id: Idbd48e5152867b1d2b7a770741e3ea08aa4299b6
8 years ago
Teemu Suo-Anttila
ed3f08b038
Fix select all checkbox state update with low row count (#19322)
Change-Id: Ifbaeb2db18ecb6657ae839fec90dbfcaa99be4ac
8 years ago
Teemu Suo-Anttila
459bb376e4
Fix setSelected in MultiSelectionModel to update row data (#19302)
Change-Id: I32c980b2cae199ad2059701e4e04b4a7cb76bafa
8 years ago
Artur Signell
ffb28784b7
Render null header caption as empty (#18553)
Change-Id: Iaeba81c7e40d4be5f16e74fa8bcf8c86c53a7d3d
8 years ago
Sauli Tähkäpää
fb28652b03
Support caption fetching for HTML and Widget headers. (#18528)
Change-Id: Idad2cbbb6b138258ff6428e7ecc3d922ef99c675
8 years ago
Johannes Dahlström
883fa51bc9
Set pixel sizes to Grid columns when user starts drag resize (#16838)
This makes column resizes smoother and more intuitive.
Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc
8 years ago
elmot
b754452586
Javadocs for new 7.6 API (#19135) and some fixes
Change-Id: Ic93545c9c3ed48d6328ee29af744cbfbff0b5c0b
8 years ago
Teemu Suo-Anttila
2c7a984542
Move RpcDataProviderExtension and DataGenerator to correct package
New location is com.vaadin.server.communication.data as the extension
only manages the communication of container data to a client-side data
source.
Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17
8 years ago
Markus Koivisto
3e7d6c8e5f
Fix empty @since for 7.6.0.alpha7
Change-Id: I8045727400c795fca78561c1a4c859595f7c53af
8 years ago
Teemu Suo-Anttila
4f26b13c72
Remove Guava dependency from Grid
This removes an external dependency to guava set helpers from the Grid
class.
Change-Id: I1d85b6c4090c0b5efa568135105933dab8f0b964
8 years ago
Teemu Suo-Anttila
8a66300779
Refactor DetailComponentManager to be a static nested class of Grid
While refactoring any special cases are removed. This needs Grid
extensions to have a way for adding and removing components from Grid.
Removing any and all parts of RpcDataProvider work towards having it
separate from Grid and maybe usable for other components as well.
Change-Id: Ia4e25d5f0acaf2085478346b0ff6e23c8334e1b9
8 years ago
Markus Koivisto
e5634deaa7
Fix empty @since for 7.6.alpha7
Change-Id: I97e36b388ce0002363a8022eed41d425f12b822d
8 years ago
Johannes Dahlström
2732b77278
Add Grid column resize event API (#16838)
Change-Id: I1cdecb54b3df45b16ddf2c7b06261198be086274
8 years ago
Leif Åstrand
9ee97bbf72
Write true boolean attibutes without ='' (#17583)
Also add missing test for GridLayout alignments
Change-Id: If553c9e254fb754cb020a63013bfcc9ecae3a056
9 years ago
Artur Signell
98f9c438d8
Add Grid.deselectAll() (#18339)
Change-Id: I5d5237fcc06ae184a884cb17fa9b6eee5c37179a
9 years ago
Johannes Dahlström
5eee3acc26
Report user-resized column widths to server (#16838)
Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
8 years ago
Johannes Dahlström
ed5b1f2c27
Add API for setting Grid columns resizable (#16838)
By default columns can be drag-resized by the user. This can be changed on a
column-by-column basis.
Change-Id: I8354e270db9affe865d1444d6cccbe8c839a3b5b
8 years ago
Henri Sara
ddf4e617b2
Update/add @since tags in javadoc
Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
8 years ago
Teemu Suo-Anttila
548ee39a92
Remove Grid EditorEvents and Listeners
The EditorEvent API is not mature and useful enough to be present in a
stable release.
Change-Id: Ia982cb1a6e7b6a3518ea0f187993a964aafa1d53
8 years ago
Teemu Suo-Anttila
be3cc216f2
Rename DesignFormatter.unencodeFromTextNode to decodeFromTextNode
Change-Id: I9e20fa21ae2f503a8d34740fcef860c66b369c7b
8 years ago