Matti Tahvonen
97ecad0e0a
Required indicator for Table now works as expected (#17294)
Table is a field (and one of the most powerful ones), but it cannot be
used as required, especially if one wants to use the built in "required
indicators" in Vaadin. Those only work if client side connector extends
AbstractFieldConnector so Table is now extending it as well and
(I expect that it ) needs to do the AbstractHasComponentsConnector
stuff internally.
Change-Id: I4ceb719366621053c7fe4c9691d624d61ed57567
9 years ago
Teppo Kurki
1b67d65d97
Allow programmatically opening editor in unbuffered mode
..when the editor is already open on another row
Change-Id: Ibec04dc7b1559149cf33e36fada8d676d943fc72
9 years ago
Teppo Kurki
69f66c8b28
Do not send value change to server for non-immediate CheckBox (#18102)
Change-Id: I60a58af72d7166869d8bdc8930e16440e02d2ac5
9 years ago
Teppo Kurki
eed4059ca0
On progr. editor open, focus target cell if Grid had focus prior
Change-Id: I8ad9100356a309309e1f8964d6bc293981b2a827
9 years ago
Leif Åstrand
5dc4c2e9b5
Encode numeric values as JSON numbers (#18039)
Change-Id: Ibb0422ed00de498957e9baf995bb7835b60aafef
9 years ago
Teemu Suo-Anttila
64245b28f4
Use GWT CheckBoxes in MultiSelectionRenderer (#17554)
Simple input checkboxes are replaced with GWT checkboxes so styling them
is easier.
Change-Id: I609a79a382ba2e3b7d6ea2895d51cc33b9028a3b
9 years ago
Teppo Kurki
ec54a601dc
Update editor overlay position on Grid resize
Change-Id: I980d6fa95939273c493e8ed726aa436d9d961003
9 years ago
Johannes Dahlström
6008e42ce8
Don't open Grid editor from header or footer
Change-Id: Ide40c6331a41bbdd4b5eb7baddbec07fcccb2a5d
9 years ago
Artur Signell
ed5ad86b11
Ensure method and property names are capitalized using English locale (#13389)
Change-Id: Idde4fc54950f2bb83e0bb8d36a84a5bf075eb8de
9 years ago
Teppo Kurki
cf563c053f
Unbuffered editor hides notification area if no error msg present.
Change-Id: I2441d684baeb9dc48ffad845a097c6cce51a9436
9 years ago
Mika Murtojarvi
d75ad04109
Add @since 7.5
Change-Id: I860b5cf00415bc17a28b52b4a8109392a6939dc6
9 years ago
Anna Koskinen
c61187a34c
Input prompt shouldn't get set when input has focus (#18027)
Change-Id: Ide792fec9bf9050cea0b7616536965e42d74b16a
9 years ago
Ilia Motornyi
96c08cd52e
Adds a textual null representation to Grid renderers(#16560)
Adds an optional textual value for null to Grid.AbstractRenderer
Change-Id: I4998476308e4259306f1774f309968520d8672e5
9 years ago
Johannes Dahlström
550bd1e5e4
Focus the field in the the active cell when manually opening Grid editor
Also move focus back to Grid when manually closing the editor.
Change-Id: I3ec54c00500ddd3872e7d20109191ac7db8bb950
9 years ago
Artur Signell
9f6cfbce67
Show declarative output for component selected in debug window (#17960)
Change-Id: I975eef2f06db4395925f76e40c044078028b0e66
9 years ago
Teppo Kurki
11d95f2a97
Allow vertical scroll in unbuffered edit mode.
Change-Id: Ia1e3dde57fdfcbc4fef6b91d3686dc9121e8ad56
9 years ago
Artur Signell
3b7ddf8aa0
Backport a resynchronization fix for 7.5 (#15405)
Change-Id: I62178ada54de6a814704dd7e166e9e9e3403c83b
9 years ago
Teppo Kurki
feab115376
Let mouse click move editor in unbuffered mode
Change-Id: I90a01ee7877aec35835145fb8b9c2dd49899dc5a
9 years ago
Artur Signell
7ff6cc3fe7
Select all checkbox when pressing space on the cell (#16685)
Change-Id: I71ca4d7d390bdaf42cf3d9317564e6ad8f96cc25
9 years ago
Teemu Suo-Anttila
7925e4ce13
Add class name for not editable editor cells (#18021)
Change-Id: Ib9bfb1fd3fe2f3caef745aa0d8fad5913759cb9e
9 years ago
Teemu Suo-Anttila
a95f757546
Fix Grid client-side event support (#17986)
Added a public API to get an EventCellReference for the most recent
fired event. Also EventCellReference now contains information on Grid
section and some related helpers.
Change-Id: Ia8a166da6f322084d65f9b1cb242e22b0e66e53b
9 years ago
Teemu Suo-Anttila
0a7b430d50
Use GWT.create instead of new in Grid client-side (#18011)
Change-Id: I34db328092965e0dd8c63c9e65504b637a3fa9e5
9 years ago
Leif Åstrand
ac92875a94
Update active tab index when overriding selection (#15274)
Change-Id: I0480b640cec251bb430cdb9224e2a23ea26b7259
9 years ago
Teppo Kurki
469a53e125
Add unbuffered editing mode to Grid
Save and cancel buttons are hidden and the backing field group
is set to unbuffered mode.
Change-Id: I7da46ae3f1b84cc5ac8c918be38919962aff88ed
9 years ago
Artur Signell
a562635f09
Only sort when enter is pressed on default header (#16732)
Change-Id: I3bae7c341064f26c6be3c9b66b33239716043fec
9 years ago
Leif Åstrand
dab6157493
Add pointer to new location for methods moved to WidgetUtil (#17952)
Change-Id: I0614f598337eacc647d82068776e934074e3ac29
9 years ago
Teemu Suo-Anttila
08dfe45d09
Fix adding a column to Table and immediately changing its size (#17927)
Change-Id: I970c771f647b7587aac3985ebeea0f0b20805fec
9 years ago
patrik
fad6e73e62
Add grid editor events (#17451)
Change-Id: Iebc4aece2a5be6b51289f5c2abf2d54d146621ae
9 years ago
Johannes Dahlström
8ba56b9c44
Refactor handling of focus and blur RPC in Connectors (#17917)
Change-Id: I2e4fb3fb941fda2aa4cbc7154fa9a3f7e8e9ce02
9 years ago
Johannes Dahlström
26b06bd636
Add focus API to Grid
- Server-side Grid extends AbstractFocusable
- Programmatic focus, tab index, focus/blur listeners
- Client-side Grid implements GWT and Vaadin Focusable
- Programmatic focus, tab index, access keys
Change-Id: Ic8b35ba91f82d5fba8f819897774dc89f94ecf7b
9 years ago
Johannes Dahlström
1042bfde5f
Refactor focus related server API to class AbstractFocusable
Change-Id: I58159d6f47d38230d583bd0cd61673bfbce02955
9 years ago
Leif Åstrand
8bafe0f919
Ensure VDebugWindow.get() always returns the real instance (#17871)
Change-Id: Ia0af0cc3e6c3129a117dd31e6bce54e1226eb9c7
9 years ago
Pekka Hyvönen
bdc28f77c6
Wrong floating element pos. on DND column reorder Grid #17693
When Grid was wider, the floating element did follow mouse to the
right after some point.
Also makes sure floating element is not shown on top of frozen columns
when auto scrolling left.
Change-Id: Ied779222c484f1f22119f89c0e720f868bbc898e
9 years ago
Leif Åstrand
3a5cd8e4cd
Make FormLayout work with HTML captions (#17143)
Change-Id: I334441fd2f8d5f6d9e0629f5d7b564e9008f3fe5
9 years ago
Leif Åstrand
7e122bed24
Don't show loading spinner if there are no tabs (#15241)
Change-Id: Ib2f08fc036d0f9940a865353c43d2433767df1fc
9 years ago
Pekka Hyvönen
0d1bbc946c
Fixes regression in Notifications and tests (#14872)
Change-Id: Ifa52508f5555c47b778cb7f80aa09f665b03b8d4
9 years ago
Teemu Suo-Anttila
5e0ac1f31c
Add missing JavaDoc for Escalator.SubPartArguments (#17814)
Change-Id: Ib90f9325426898d65584cf9928a7730e18745c5d
9 years ago
Teemu Suo-Anttila
46d0e0c600
Fix Grid and Escalator accessing of SubPartArguments
This patch removes an extra static method from Escalator and makes Grid
and Escalator call SubPartArguments create(String) method directly.
Change-Id: I6825bc89540c6183a8fddeded8133fb7ef8e23f1
9 years ago
Leif Åstrand
0a7d5bcd58
Revert "Moved accessibility shortcut handling to server-side. [#14843]"
This reverts commit e88f71dd6d
.
Change-Id: I1d4ed60ec4a194f6ed18fa5506134ef3a185a6cf
9 years ago
Leif Åstrand
2227124925
Add missing @since for 7.5
Change-Id: Id8f78c9ef7670c5413d3b7d28eef732dd1b7512d
9 years ago
Pekka Hyvönen
201ae89df5
Updated all empty @since tags to be published in 7.5.0
Removed invalid @since from MarginInfo.
Change-Id: I7ad0dee47e8686c5cbca05ca1363ae8741642be8
9 years ago
Pekka Hyvönen
619bf2cd0e
Fixed Grid crash when rendering first time and no header available (#17412)
Need to catch IndexOutOfBoundsException thrown by Escalator.
Change-Id: I7593d6c4eb3f948d494688800dcf42c2ae963b07
9 years ago
Denis Anisimov
244faff333
Notification styles should be scoped more eagerly (#14872)
Change-Id: Ifb648b8913c9999d3c0c855f05f79c8356577887
9 years ago
Pekka Hyvönen
b22cf5257b
Hiding/Unhiding Grid column when details row is open (#17691)
Fixes paintRemoveColumns and paintInsertColumns in Escalator.AbstractStaticRowContainer
to not include spacers in row count.
Fixes couple ColumnHidingTests for IE8.
Change-Id: I283ee9fcdf0f3a7d0019948a700225c27a25d701
9 years ago
Teemu Pöntelin
bfb616f28e
Fix caption position calculation in GridLayout (#17619)
Change-Id: I5af773fbc03bc3d44e1aaa06ae974517583fdf4d
9 years ago
Artur Signell
8b93cba4de
Fix enabled handling for DateField and PopupDateField (#17620)
Change-Id: I3e38bb5c03453b6c1ad5c9bb717241297a779f73
9 years ago
Artur Signell
dd05b436d9
Render CustomLayout properly even if a slot is missing (#17681)
Change-Id: I1ca0699776b93987c00a23a61a64ba8f3b4cd95e
9 years ago
Matti Tahvonen
a9bc160aee
Serve pre-compressed static resources by default (#13653)
* enabled widgetset compression in GWT compiler
* serving compressed static files if available (when serving through
VaadinServlet)
Change-Id: I34c289c85cda74a1d291bf621211aee446c6c80f
9 years ago
Pekka Hyvönen
bbf30fff16
Details row decorator and border positioning and sizes (#17423)
IE8 still isn't pixel perfect, but you can't have 'em all.
Change-Id: I1780441f130032503d783657103066f502dce570
9 years ago
Teemu Suo-Anttila
24d1e8e4d2
Add missing @since to VDragAndDropManager
Change-Id: Icf4bc147b2ca77676ce29c7b2b8a516cbf7b2d23
9 years ago