Teemu Suo-Anttila
61037a75a5
Fix Grid column dnd reorder scrollarea calculation in Chrome 43 (#18234)
This patch also fixes issues with vertical scrollbar on page and
autoscrolling along with calculating drag element and marker positions
wrong.
Change-Id: I3d39c7bc6ddea630e04a9967ff8e1055c0736b79
9 years ago
Artur Signell
640dd28d21
Measure size correctly when element has border and/or padding (#18181)
Change-Id: I821ad3985c78cd0c2a66b37078885ea0612d5ad1
9 years ago
Teemu Suo-Anttila
4bc734e56a
Add a workaround to not display a spacer just scrolled to view (#17826)
Change-Id: I22805530cca26a23a6cc15c94b396aaba1f1245b
9 years ago
Teemu Suo-Anttila
be9f7f3128
Fix Escalator spacer visibility calucation (#17826)
Now calls directly to correct spacer container to update visibility
instead of doing extra work with recalculating everything.
Change-Id: I8625033012773a10983cd5d4f6ef3ce1be50ee26
9 years ago
Johannes Dahlström
4837e3838e
Properly display Slider values greater than Integer.MAX_VALUE (#18192)
Change-Id: Ic83d067b69eff8b34acf7945e84fb645160d8ae2
9 years ago
elmot
3dba07d162
Fix for "Grid detail row outline overflows" (#17826)
Clipping of an existing spacer decoration was not updated after
adding/removing another spacer.
Change-Id: I0e0da484fe135cf109dd081a0d30a818813f8283
9 years ago
Teppo Kurki
a1c8305412
Rename grid sidebar 'opened' style to 'open' (#18120)
Change-Id: Ifbd791c45bf0a4b62e6e73195c73c4f0f3bddad0
9 years ago
Teemu Suo-Anttila
ffb4036fe0
Fix Grid drag selection with scrolled page (#17895)
Change-Id: I1303781c5a996448e12e86835935702686af3ab7
9 years ago
Sauli Tähkäpää
4af793d06a
Prevent field from updating when removing text change listener. (#16270)
Change-Id: I65c598ae71414550eb648fabf6e94fb1dabbef97
9 years ago
Teppo Kurki
bfb632bf19
Fixes double-tap-to-open-editor issues
* Ignore double-taps on different rows
* Ignore swipe events
Change-Id: I37cccd6bda09a384b0698433adf3fa99985f1809
9 years ago
Manolo Carrasco
acce09843e
Open editor on double touch (#17338)
Change-Id: I3ec5faf0086be70eda872ec81ea40f69d9c3e627
9 years ago
Matti Tahvonen
5ae33b641e
Selection is now shown although scrollToSelectedItem is false (#16673)
If scrollToSelectedItem is set to false (which is needed to work
properly with
large datasets) the selected item caption is sent to client with a
special
attribute to avoid the field looking like unselected.
Change-Id: Ib80355c3b52faaaeaa9ab7195644701cc3bf0d15
9 years ago
Artur Signell
baf00a3368
Hide sidebar when clicking outside it (#18111)
Change-Id: I0dc8d218f8b9584874e34bf7c38eeae4b89f5df9
9 years ago
Artur Signell
8453305743
Render initially hidden columns correctly (#18030)
Change-Id: I2d21daac01fc8c61290997bf37b4109a07676135
9 years ago
Artur Signell
220b407724
Insert columns using correct logical row index (#18103)
Change-Id: I7010f4ca938e29c0b348aac15581c0aeb48d2dc0
9 years ago
Artur Signell
96e0e2ed12
Only set height when at least one header cell is shown (#18000)
Change-Id: I252a8223804b5ba45abb20061c3d65d0b80603dc
9 years ago
Pekka Hyvönen
69714e4251
DND-drop-marker should not be on top of sidebar opening button #17692
When sidebar opening button is visible, the column dnd-drop marker should
not be on top of it.
Change-Id: I67428bc5f49ce08c8df11ad84b529e17ad2bc2da
9 years ago
Teppo Kurki
a2e05d76e3
Remove duplicate primary stylename from split panels (#17846)
Change-Id: Ia0d839654cd14e0109f09d5625fe21ae41a689a3
9 years ago
Teppo Kurki
d5860be5b6
Use headerCaption as default hidingToggleCaption (#18028)
Change-Id: Ifaf288da98d6d1d1c02760784b832cb5b5d93c07
9 years ago
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