Adam Wagner
d0a8608c7e
Make it possible to set a Resource as drag image (#9088)
Fixes #8892
Note that IE and Edge are not covered by this change - see #8977
7 years ago
Artur
bb46fff437
Add support for frontend:// using separate es5 and es6 folders
7 years ago
Teemu Suo-Anttila
70a3a105b2
Fix race condition between rendering TreeGrid and setting up headers (#9105)
* Fix race condition between rendering Grid and setting up headers
* Remove Grid default headers when initializing the widget
* Fix header clean up, add null check to select all checkbox
7 years ago
Teemu Suo-Anttila
b5b7bb7021
Remove unnecessary logging from setHeightByRows in Escalator
7 years ago
Artur
dfd1f04f4f
Fix changing primary style name for NativeSelect (#9016)
7 years ago
Henri Sara
37219932b9
Add/fill in missing @since tags for 8.1 (#9106)
7 years ago
Artur
7d75f33707
Wait for HTML imports to be processed and not only loaded (#9110)
Failing to do this might cause constructors and listeners in a Polymer
element too be called too early in browsers which need the V1 polyfill.
7 years ago
Teemu Suo-Anttila
8b95318c6c
Fix issues in Grid with undefined height (#9104)
7 years ago
Aleksi Hietanen
7d1b06cbc4
Fix client-side memory leak caused by Grid events (#9103)
Refactors AbstractGridKeyEvent, AbstractGridMouseEvent and their
descendants to follow the pattern used in other GWT DomEvents.
Fixes #7633
7 years ago
Artur
20b49db2fc
Ignore all external events in the Profiler (#9033)
This fixes problems with profiling the initial paint:
"SEVERE: Got end event for leftoversDownload.runAsync but is currently in null"
7 years ago
Henri Sara
695ae21edb
Schedule DOM reset after column size setting (#9011)
Otherwise, the initial row height state update partly negates
an earlier optimization for unnecessary column width calculation.
7 years ago
Artur
9a0f1c1361
Composite component (#8952)
A composite is included in the server side hierarchy and in the connector
hierarchy on the client side but does not have its own widget or DOM.
To ensure that captions etc are renderer correctly for the root contents,
the client side connector returns both the widget and state for the content
connector.
Server side API related to width and height are automatically forwarded to
the root component to enable easy use of the composite inside different
layout configurations.
Other server side API inherited from AbstractComponent is unwanted, should be
optional and therefore throw an exception by default.
Resolves #2458
7 years ago
Adam Wagner
b480c7166a
Indicate when multiple rows are dragged (#9087)
* Indicate when multiple rows are dragged (#8398 )
7 years ago
Aleksi Hietanen
a4a4d9e064
Use separate identifier for push connections
Closes #8700
7 years ago
Adam Wagner
dd1d288d5f
Create combined drop mode to allow both on_top and between drops (#9063)
Resolves #8932
7 years ago
Pekka Hyvönen
107e9dd81f
Replace drag over class name with conventional ones (#9059) (#9076)
Generate drop target style names on every dragenter to make sure they match the primary style name.
Fixes #9058
7 years ago
Olli Tietäväinen
cf93a67297
Panel.setScrollTop() fails with impossibly large numbers
Fixes #1149
7 years ago
Artur
22c39d36f8
Correctly set ListSelect style names
Fixes #8901
7 years ago
Artur
71e4d797fe
Notify a resource load listener many times if it has been added many times (#9075)
This is what the javadoc promises and what DependencyLoader relies on
7 years ago
Artur
4454e6bdc1
Provide GridLayout size and cell elements to JS and TB (#9019)
7 years ago
Aleksi Hietanen
2c3e399cb6
Fix empty TreeGrid (#9067)
7 years ago
Adam Wagner
c1ecea9aa4
Remove Extension suffix from Grid DND classes (#9035)
7 years ago
Adam Wagner
a773c8c7b3
Make it possible to drop things between Grid rows (#8979)
Fixes #8401
7 years ago
Adam Wagner
659313e8c3
Provide dragged Grid items in server side (#8950)
Fixes #8931
7 years ago
Adam Wagner
1ac4f97241
Make it possible to drop things on top of Grid rows (#8747)
Fixes #8400
7 years ago
Adam Wagner
2df1b373aa
Make all selected rows draggable (#8746)
Fixes #8397
7 years ago
Adam Wagner
c4f8524ea8
Make Grid rows draggable (#8690)
It is possible to customize the drag data for each row. (#8706 )
Fixes #8396
7 years ago
Aleksi Hietanen
4784e342eb
Fix initial expand of TreeGrid items
Fixes #9050
7 years ago
Adam Wagner
125d2a926c
Make Button component draggable (#9038)
* Make Button component draggable (#9037 )
* Add own state to button drag source
7 years ago
Aleksi Hietanen
393a3f191a
Remove compile-time mockito dependency from client module
7 years ago
Artur
72b4fbebe5
Send view width as width and not height
7 years ago
Aleksi Hietanen
6ad53c7d66
Add server-side expand and collapse to TreeGrid (#9021)
* Add server-side expand and collapse to TreeGrid
* Add javadocs
* Fix variable naming in TreeGridHugeTreeTest
* Fix review comments
* Merge remote-tracking branch 'github/master' into 8759-server-expand
* Clear pending expands when all data is dropped
* Add documentation
7 years ago
Ilia Motornyi
6eed666314
Snapshot version update to 8.1 (#9023)
7 years ago
Ilia Motornyi
535b879cb8
TreeGrid keyboard navigation
Fixes #8758
7 years ago
Artur
18a0b1e45c
Correctly set style names for NativeSelect (#9006)
Fixes #9005
7 years ago
Stephen Wellington
4c9b6745f0
Fix Editor not saving values by pressing Enter (#8946)
Fixes #8945
7 years ago
Teemu Suo-Anttila
7ff30d7c08
Fix column indexing when setting a renderer (#8976)
Fixes #8943
7 years ago
Aleksi Hietanen
b869d75181
Implement LocalDateRenderer and LocalDateTimeRenderer (#8955)
Closes #8377
7 years ago
Henri Sara
f9a9f2c4be
Add Grid.setRowHeight() (#8935)
Fixes #8667
7 years ago
Ilia Motornyi
cda2f0e5b2
Fix NativeSelect inner component size (#8737)
Fixes #8702
7 years ago
Teemu Suo-Anttila
91590e9f6c
Fix data not being sent again when adding DataGenerators (#8947)
* Fix data not being sent again when adding DataGenerators
* Fix header component detaching, revert early header cleanup
7 years ago
Pekka Hyvönen
1e0661129b
Fix removing rows over the cached range in Grid
Fixes #8840
7 years ago
Artur
2fe4c50ac8
Use computed style for Escalator size calculations (#8861)
* Use computed style for Escalator size calculations
The old method of using getBoundingClientRect does not work as expected
if a transform has been applied to the element or one of its parents.
For instance PopupView animates itself using a scale(0) -> scale(1)
animation. When scale(0) is active, getBoundingClientRect will return 0
for all sizes while computed style ignores the transform and returns the
expected value.
Fixes #8793
7 years ago
Henri Sara
e091687db4
Use textContent instead of innerText in TextRenderer (#8936)
* Use textContent instead of innerText in TextRenderer
This improves standards compliance and reduces unnecessary layouting.
Optimization suggested by Oskar Hýbl, Cleverbee solutions
7 years ago
Teemu Suo-Anttila
0bee1dc5f8
Improve caching when expanding nodes in hierarchical data (#8902)
Fixes #8790
7 years ago
Adam Wagner
e905e2bb80
Clean DropEvent and DragEndEvent properties (#8925)
* Add dropEffect parameter to DragEndEvent (#8895 )
* Remove drop effect from drop event (#8895 )
* Make sure that drop effect is not null
7 years ago
Aleksi Hietanen
8fcb2da138
Add possibility to configure the content mode of TabSheet tabs (#8920)
Fixes #8590
7 years ago
Teemu Suo-Anttila
6f1f83d4b9
Fix default header content changes on init (#8921)
This patch also enables an old test that was pending #8128
Fixes vaadin/framework8-issues#556
7 years ago
Teemu Suo-Anttila
6384bc7dee
Add feature to disable collapsing items in TreeGrid (#8879)
Fixes #8846
7 years ago
Adam Wagner
acbb5a787b
Remove support for transfer data type (#8910)
* Remove API for setting arbitrary drag data
* Store the drag source component in the UI
Fixes #8893
7 years ago