Teemu Suo-Anttila
d409100157
Duplicate client-side of the Vaadin 7 Grid
Change-Id: I069df183806937c2d97eb3e9c8a073ef53ab5c24
7 years ago
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 years ago
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 years ago
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 years ago
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
8 years ago
Teemu Suo-Anttila
d340d22ade
Fix ScrollbarBundle to use proper rounding instead of truncate (#19657)
Change-Id: Ib90bd0762f02ce43b0057e0b27b8491ad6e987d5
8 years ago
Teemu Suo-Anttila
c390b386ad
Fix ScrollbarBundle to not round down pixel values (#19421)
Since Escalator now uses subpixels in most cases, scrollbar calculation
fails when ScrollbarBundle calls Math.floor for the offset size. Removed
rounding, added a pixel epsilon check that we don't make a scrollbar
when it's not really needed.
Change-Id: I228fd7dd48d4506e5b2b7bb799291c9a122ea3fe
8 years ago
Leif Åstrand
69db9eac8f
Update @since for 7.4.1
Change-Id: I61233d704eae50447d3ccb5a5c485fe3ef98c436
9 years ago
Johannes Dahlström
ea65f173ff
Maintain Grid scroll position on detach and reattach (#16220)
Change-Id: I6ac5c3304bcd22e23f298c4dbdd65358aa1c64f7
9 years ago
Teemu Suo-Anttila
4ee04a8348
Fix Escalator size changes when scrolled to bottom (#16382)
Change-Id: Iaf8b21e9c6a09e51667eebae1fdd4b1f5ebabedd
9 years ago
Henrik Paul
04b87d8936
Fixes a graphical scrollbar glitch in Grid + some OSX configurations + Valo (#16565)
Change-Id: I8eb8bb2d941fc88b9f896c8d351ada6286e8322d
9 years ago
Henrik Paul
eaad0231ee
Fixes IE scrollbar issues (#16634)
Change-Id: Ic948fb801f3bca5101ba630c99bd321f3e4f24bb
9 years ago
Artur Signell
bf8836bb56
Separate pure client side util methods to a new class (#15553, #15544)
* Deprecated old methods in Util for backwards compatibility
Change-Id: I9de5e6b930d9f2c0268967dc7b1cf465e6310280
9 years ago
Henrik Paul
0d38ae887c
Grid no longer resets scrollpos on state change (#15422)
Change-Id: I3fde618a47ad9bb0f8b79c52feb10dd74a387203
9 years ago
Leif Åstrand
fe6f23946a
Set @since values for Grid classes
Change-Id: Ib0c7d23c2a963e24ecca7769f6b179826be55102
9 years ago
Henrik Paul
434fb5bf5c
Heights are now double precision floats (#13334)
Change-Id: Id9e1dd4b4a480dd512f3dd78fde2f9a0256087e9
9 years ago
Henrik Paul
5b9191e775
Stops non-scrolling scrollbars from interfering with pointing events
Some minor scrollbar-related maintenance was also done on the side.
Change-Id: I37d728465e498f586596e1eff14d73d6335e6770
9 years ago
Henrik Paul
afa1aa38bd
Fixes an issue where IE8 refused to fire one scroll event (#13334)
Change-Id: Iaf9278a3a16360369fde5ac6d759e27e5c443d1b
9 years ago
Teemu Suo-Anttila
b90c84f755
Refactor Grid client side package structure (#13334)
Change-Id: Iab81d2344480d2b60303172a96f4e5e4fa8e1623
9 years ago
Henrik Paul
b3e6edc963
Columns can now have subpixel accuracy widths (#13334)
Change-Id: I1d16260be7b15c9fbdbfdd8f51e50e9f34e96272
9 years ago
Henrik Paul
edbca6ac0f
Fixes a race condition in Escalator's scrolling (#13334)
Change-Id: I8bd6195bfbf37c847919e3092d486e67fe79cd5c
9 years ago
Henrik Paul
854b50af1a
Fixes Escalator's assertion error regarding scroll position (#13334)
Change-Id: I72dd8c5160022d127692e223c267edf09e73e091
9 years ago
Henrik Paul
1de6a75497
ScrollbarBundle, Escalator and Grid fire Scroll events (#13334)
Change-Id: I362f1f8d2107d762b43ab52c1f22dfd218f67ba4
9 years ago
Henrik Paul
c464d7fe2c
Adds the ability to lock the scroll direction of the Escalator (#13334)
Change-Id: I8e20ce971e313495941059a869d4db826bfa903b
9 years ago
Henrik Paul
e5589f90c9
Fixes disappearing scrollbar bug (#13334)
Change-Id: I4d956c330d0fe5473911951cc17fd919424aa916
9 years ago
Henrik Paul
2caaea2df9
Stopping scrollbars from obscuring cell click events (#13334)
Change-Id: I8191b468563b7b91d5663d6d1289d813b21193bc
9 years ago
Henrik Paul
07ef5c9d52
Removes the version number from @since in Grid classes (#13334)
Change-Id: I36192c46b359b8307c5bb1faf71c3b9a20e77fb8
10 years ago
Henrik Paul
27e65d3214
Fixes a few Escalator regressions relating to IE8 and IE9 (#13334)
Change-Id: I3446d1f781f5aa5e3262a20f51999b0a52d48dd3
10 years ago
Henrik Paul
f0d60095d0
Converted many integer pixel values to doubles instead (#13334)
Change-Id: I5933b24a557c7012841d7ac465e07a63a5d83e3d
10 years ago
Henrik Paul
9b510d35a7
Adds setHeightByRow support to Grid (#13297)
Change-Id: I67f1bfb476a8af28c0ea1a03758684ca42d1ba48
10 years ago
John Ahlroos
cca2172654
Revert "Merge branch 'master' into grid"
This reverts commit 4420f52578
.
Change-Id: I06effe06f245baaeb499071917c359eb34cc55ea
10 years ago
Henrik Paul
0ad5587c2f
Change c.g.g.u.c.Element to c.g.g.d.Element (#13334)
Change-Id: I8942623466441846ac4100dc6f451d0948d005a9
10 years ago
Henrik Paul
6a1accb69c
Fixes scrollbar visibility issue in Escalator (#13237)
Change-Id: Ie584c3440f612c4d262a218ff962faae4b4c6b82
10 years ago
Henrik Paul
d5cfa012ae
Makes IE8 use the correct property in scroll event object
Change-Id: Ida17ddc9675ab276f29d5fed9cef9cec567e0eae
10 years ago
Henrik Paul
55e4f6b28c
Optimize the performance of Escalator (#12645)
After noticing that getScrollTop and getScrollLeft took an ungodly
amount of execution time, I decided to add a local cache for
ScrollbarBundle. Also, on a touch scroll, the event isn't processed
immediately, but put into a queue, waiting for the next rendered frame.
Testing by scrolling up/down and in circles for one minute on a plain
Escalator with only text, 20 visible rows and 10 columns:
Before: iOS browser self time 43.78s/1.1min (69.37%)
After: iOS browser self time 50.19s/1.1min (78.31%)
This means that the optimizations added almost 10 percentage points more
time for the application to render.
Change-Id: I0bb65646852321c0df706ecac0c546f0d8324865
10 years ago
John Ahlroos
6e8b34434e
Support primary style names in Escalator and Grid #13058
Change-Id: I8fa99a96c2120583bb1ecd152f8f337aef702614
10 years ago
Henrik Paul
c2d38fa6c2
Support OSX's hiding scrollbars (#12645)
Change-Id: If5df6a7651482a33558088398330fd73a4d43645
10 years ago