Markus Koivisto
9147fbad89
Fix empty @since
Change-Id: Ie060beaa9eca3b098d7e07116d64580c6a198ee8
9 years ago
Teemu Suo-Anttila
4a10a70fbe
Fix DetailsRow communication use connector IDs (#18493)
Details are now initialized when they are made visible. The old way of
requesting when seen caused a lot of problems when moving stuff around.
Now uses less communication, but reserves a bit extra resources due to
all details components being in the hierarchy.
Change-Id: I1c1163bdc306f5b86e5e0f6e2bbf2801e65c2243
9 years ago
Teemu Suo-Anttila
5837c103f7
Fix displaying Details when Grid is attached to DOM (#18390)
Change-Id: I74360c7a3f0c5798dbaa44ea06ea1585c4289449
9 years ago
Teemu Suo-Anttila
8d2bbed0a5
Fix Grid header adding and removing with select all checkbox (#17592)
Change-Id: Ib842e171b50366e8830cd50ca0b04a346e298a1d
9 years ago
Teppo Kurki
d5860be5b6
Use headerCaption as default hidingToggleCaption (#18028)
Change-Id: Ifaf288da98d6d1d1c02760784b832cb5b5d93c07
9 years ago
Leif Åstrand
2227124925
Add missing @since for 7.5
Change-Id: Id8f78c9ef7670c5413d3b7d28eef732dd1b7512d
9 years ago
Henrik Paul
c5118632a6
No unnecessary detail-request RPCs (#17367)
Change-Id: Ia5f00765d623a5fadd254f2146fbd9e5c9e1b86a
9 years ago
Pekka Hyvönen
0e7755958b
API for column hiding toggle caption in Grid (#17272)
Fixes column toggle not getting a caption when a hidable column is added.
Fixes column toggle not getting a caption on columns with widget in header.
Change-Id: Ie10ada793a3635302603f684f232cadaef74a982
9 years ago
Henrik Paul
2080f86e03
Server Grid.scrollToRow takes details into account (#17270)
Change-Id: I7b6d67aeb4d625a53e6fe370b729016a84e33214
9 years ago
Patrik Lindström
aaae44fe63
Make Grid update column renderers (#16552)
Change-Id: I3adf9d0cc32f800a535a82ffe5d6ba503a36e746
9 years ago
Henrik Paul
6a7437cc96
Fixes edge case in null details generation for Grid (#17274)
Change-Id: I1bf4c2f0600baea8b925bd31dcd42c1e901a7c8b
9 years ago
Pekka Hyvönen
16c67cfab9
Grid column hiding info from client to server #(17023)
Fixes mismatched client-server API regarding ColumnVisibilityChangeEvent
Adds and removes the column hiding toggle as needed when columns added / removed.
Known bug when a hidable column added, column toggle won't get the caption of column.
Change-Id: I708e19432dc822f713bf11f5b8e6eadb528a3961
9 years ago
Henrik Paul
2be1e43d70
Adds server side column hiding API to Grid (#17023)
Change-Id: Ic00e873176f499dfc45976439e09d712932775da
9 years ago
Henrik Paul
b06b1d6846
Adds details generator swap support for Grid (#16644)
Change-Id: I741970a7bcebd27d3aa28d608d767b4b4f063ae8
9 years ago
Henrik Paul
5c2da23e72
Fixes a bug when scrolling a Grid with details open (#16644)
If the a row with an open details row was pushed out of the active row range,
the component would be removed from the connector hierarchy on the server
side but not on the client side. Vaadin gave a warning for this. This patch
makes sure that the widget is properly deregistered when it gets outside
of the active range pre-emptively.
Change-Id: I2145e82a990ded31e4426e85e59edad9d4d4194f
9 years ago
Henrik Paul
a1619ee73d
Grid's Details can now be Components (#16644)
Change-Id: If67dd2e86cf41c57f208a3691e2cb7a5a29c133c
9 years ago
Henrik Paul
84c143dd76
Server side Grid can open details on the client side (#16644)
Change-Id: Ibff5a83b3a09c7c530926dadae9138ba3823f27a
9 years ago
Artur Signell
b20922110d
Method for requesting column width recalculation (#16748)
Change-Id: I089f08a056a358d9857ce6608293878e2b8bbd9e
9 years ago
Pekka Hyvönen
4091622868
Handle selection column oddity when dnd reordering columns (#16443)
Change-Id: I7bb20fb98a79e77acc9073bc9c2210d1dc3fd49e
9 years ago
Pekka Hyvönen
9b2f51ca9f
Update server side state when columns are reordered. (#16643)
Change-Id: I96c65dbb96614a5f5782b747fb8588647211cf4b
9 years ago
Leif Åstrand
ca435cd30b
Add API for controlling deselection for single select model (#16567)
Change-Id: Ieb245205b3a311a4563f39bc48baadc44e218b61
9 years ago
Leif Åstrand
ee1fa83504
Show editor save error (#16602)
Change-Id: I2727a9fabef4291798e97495c2df86b077387cbb
9 years ago
Henrik Paul
0e141e31bb
Highlights erroneous cells in Grid editor (#16575)
Change-Id: Ie1f9d738db7a03ddb01b968782ad5e4877af1d7e
9 years ago
Johannes Dahlström
a15f284795
Grid columns can now be marked as non-editable (#16538)
Non-editable columns are not assigned editor fields. When the editor is active,
any non-editable content is not displayed (this should changein the future).
This is separate from setting the property or editor field read-only - in those
cases the field is still used to display the data which may not be desired and
will fail if there is no converter.
Also add Column.setEditorField(Field<?>) and the corresponding getter.
Change-Id: Ice17c357895cb63a8e1bfd6abaffc1d803399e98
9 years ago
Teemu Suo-Anttila
a6a3060fb2
Fix Grid not always showing select all checkbox (#16397)
Change-Id: I35f0e9fa615ab23153b638b80f12cd539bd2c52e
9 years ago
Teemu Suo-Anttila
74976a7ffc
Fix Editor creating fields before client Grid can attach them (#16214)
This patch includes some race condition handling.
Change-Id: I6ab3cf15a67de722181b2718ab85b6b4a6bcb997
9 years ago
Leif Åstrand
911972c58b
Make Grid react to theme changes (#15418)
Change-Id: Id67e378a0363a1c84cf08552a1528d612f6d43fe
9 years ago
Henrik Paul
8e4b607730
Adds error handling to Grid Editor (#15556)
Change-Id: I93551548aad280c4e0193d65a066976d40d65a86
9 years ago
Teemu Suo-Anttila
67090d9229
Fix grid sorting on init and sorting with unused properties (#16192)
Change-Id: I247a981c6a38bf78936f81f087ce3d5e6d354149
9 years ago
Teemu Suo-Anttila
35372dc1d3
Add ItemClickEvents to Grid (#15449)
Change-Id: I743f4de9fd11c5d81b11a3b8f2e0957293c5587c
9 years ago
Teemu Suo-Anttila
e52e34c5d5
Defer Grid scrolling to avoid issues with DataSource sizes (#16189)
Change-Id: I47868ff8b139ffc8c3c95ee6cafa95b76be67914
9 years ago
Teemu Suo-Anttila
603122ef7b
Fix Grid handling state changes and RPC calls deferred (#16188)
Some column changes in Grid were not correctly handled by the
RpcDataProviderExtension. These cases are now correctly handled.
Change-Id: I966b1c71d26e77e30e7dd84f26ab9704bd4f1f0f
9 years ago
Johannes Dahlström
0c41a0271a
A few small renames and typo fixes for Grid
* SortNotifier.removeSortistener -> removeSortListener
* DisabledGridClientTest now extends GridBasicClientFeatures
* GridServerRpc.selectionChange -> select
Change-Id: Id01b1d51f84c996444de28b262df3db7a6c35a09
9 years ago
Teemu Suo-Anttila
81165cf0bd
Change Grid default selection model to Single (#15435)
Change-Id: Iba651c043fa47125b12d17371947042cbb03a589
9 years ago
Artur Signell
50dac79cb6
Update @since for 7.4
Change-Id: I00401560e345c82a5d967cd71d611605d9b96d92
9 years ago
Leif Åstrand
956a7fdaa7
Change selection model before selecting rows (#15488)
Change-Id: I2697367626ca0b469e06e3707a3868f4abfdddd9
9 years ago
Leif Åstrand
68e3c85866
Ignore selection col for server-side cell style generator (#15486)
Change-Id: Ia66ee24da787ca99d16705e699e46729d9aaaca6
9 years ago
Teemu Suo-Anttila
41bf82e6dd
Fix ClickableRenderers to use CellReferences (#13334)
This patch also uses row keys and column ids in communication rather
than indices.
Change-Id: Ie3bb554bd5c45700f1681160eef08bef8beeaaee
9 years ago
Leif Åstrand
fd62b6efe8
replace com.google.gwt.json.* usages with elemental.json.* (#8942)
Change-Id: I745b12685be4696fd8f1158005bf731f35ae8a81
9 years ago
Johannes Dahlström
303216675c
Make editor request API easier to use (#13334)
Change-Id: I53f2cf8f248aaa3798a82b0a1f42d320ca9c2e05
9 years ago
Johannes Dahlström
6ed909f2c6
Change "editor row" to just "editor" in method names and javadoc (#13334)
Change-Id: Idafdbe3d71a38a979e1eeb07c527f66ce61ccfa9
9 years ago
Teemu Suo-Anttila
b08392ecae
Move SortDirection from grid package to data package (#13334)
Change-Id: Id8fecbee0171b783a62d747433667267f530a6a7
9 years ago
Johannes Dahlström
fd2414084d
Fix EditorRow not displaying widgets when opened for the first time (#13334)
Change-Id: If900558c4a927d7db7b206145e9f59fbb04afdf4
9 years ago
Teemu Suo-Anttila
b90c84f755
Refactor Grid client side package structure (#13334)
Change-Id: Iab81d2344480d2b60303172a96f4e5e4fa8e1623
9 years ago
Teemu Suo-Anttila
fe0954a97d
Rename client side SelectionChangeEvent (#13334)
Change-Id: I317e7eaa0613e1ce87cef0f4e19f29110104ada7
9 years ago
Artur Signell
c9fe985fc3
Split CellStyleGenerator into separate cell and row style generators
(#13334 )
Change-Id: If07018b6f74ff1a4c616705f61b6118647d64342
9 years ago
Henrik Paul
643ccd9e6a
Add expand and min/max width for GridColumns (#13334)
Change-Id: I6cb2f4a11d97c3704c1fd8f8571889f1a8d5c4b8
9 years ago
Teemu Suo-Anttila
2ed3d92ef8
Remove SortEventOriginator and replace it with a boolean (#13334)
Change-Id: I8a203c5e2f4bc9074ccf3cb4e7f347f17d89fe52
9 years ago
Johannes Dahlström
4f41def1e6
Remove editor row discard methods; rename "commit" to "save" (#13334)
Change-Id: Ic7cec3c3750db8a2e0b23a4d38f63e9642999e3e
9 years ago
Johannes Dahlström
b8a38c38ca
Flatten client-side EditorRow API (#13334)
Change-Id: I44d8bf004616473481056bdaaa082a898b71438e
9 years ago