b829871d8ec6d4215c8b79dc0b27e54695f05a72 |
|
29-Mar-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
+1px width for virtual scrollbar. Fixes #2532032
IE doesn't respond to clicking on the scroll rail or
endcap arrows unless the scrolled area is visible, so
I had to add 1px to the width. It's just an empty div,
so there is no UI artifact.
Another thing that can't be tested with automation. |
d6ffb4152eeaf6d0473da6a9a58aa6a7b62665b7 |
|
27-Mar-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Support changing scrollable attr
Fixes #2531928
Fixes #2531939 |
53c97f474022b2633bdeccab063f518c4015f27a |
|
13-Mar-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Clean up module vs class descriptions, +@since 3.5.0
Moved the lengthy text from the module description to the
class description so the module page would look cleaner.
Added note for each class extension to point readers to
the DataTable class for docs on the APIs contributed by
this class, since they all have @for DataTable. |
3f116d5f79eb8f852c9c2246c902c9de98f108f3 |
|
05-Mar-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Restore scroll position after sync |
5c12631bd2fb070ba645b3d749078e072b417a4f |
|
04-Mar-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Apply fixed header liner padding dynamically
With the removal of the sort liner, the header padding is
being overridden to allow space for the sort indicator,
but the scoll liner padding was fixed at 4px 10px. This
change makes the liner styling more robust, since it can
adapt to outside influences of individual header padding. |
a5d7dae19110b90e9cfc9e6f8de7979590abe1f6 |
|
01-Mar-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Remove aria attrs on fixed headers except hidden
aria-hidden="true" cascades, so putting it on the table
in the fixed header template does the job. No need for
role="presentation" on anything, or aria-hidden on any of
the children. |
46034b065d4b1a61f9d355e2a4b004ebf02fc016 |
|
29-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Add support for fixed header update when sorting
This is a dirty dirty hack, pending tickets #2531824 and #2531815 |
e0b39a688ee61431bf4d7da5cc11f7b4b375f61d |
|
28-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Add the scrollbar width, don't subtract it.
Resulted in configured widths being increased by ~2x
the scrollbar width. |
ec9c91e7570a04fd93e9ab0832e848bfe61fa28c |
|
28-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Last changes to get datatable-scroll working
* Added cellspacing="0" to core and fixed header template
and removed *border-collapse: collapse hack for IE
* Double wrapped the Y scrolling nodes. New <div> has the
border and contains the fixed headers and the overflow <div>.
This obviated some dim calculations to work around
border widths for placement of the fixed header. Also allowed
an overflow-x: hidden rule to hide any column width rounding
issues resulting in the fixed headers being 1px too wide and
overflowing the previous yScrollNode border.
* Use table.replace(wrapper).appendTo(wrapper) instead of
table.wrap(wrapper) because IE (I forget which version--6 or 7,
I think) did all sorts of stupid things, like extracting the last
table cell and wrapping the rest of the table inside it. It's
probably a bug that needs addressing in Node.prototype.wrap,
but this solution also works.
I do believe this will be the shipped version of
datatable-scroll. Hurrah! |
f8befd993dc50a524a45b0d2ed8384aa3da72288 |
|
27-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Fix expanded width in XY scroll, +more (below)
When the table is narrower than the configured width, it was
being set to 100% width, but in xy, the assigned width needs to
account for the y-scroller/virtual scrollbar.
Otherwise,
* Update IE css hacks to apply to IE 6 only
* Hide the fixed headers while everything else is going on to
avoid reflow impact. The column widths are write-only, so
the fixed header can be hidden until its dims are needed for
the scrollbar position. |
2f62ff1302890d2d74df3022ea19e62e54db8855 |
|
27-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Remove unnecessary padding in xy...
...when the width is configured to be wider than
the content. |
ebc884d1ef9f8a9028a002e4b79f26a6190e0ba0 |
|
27-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Force reflow in IE6 before set xscroll table width
The boundingBox width is set before entering _syncXScrollUI
which causes IE to squish any column widths that cause the
overall table width to exceed the bb's dims. Clearing the
bb width and table width was insufficient to get the table to
expand to natural width (in IE only), so I set the width and
fetch the offsetWidth to trigger an immediate reflow before
proceeding. The use of the configured table width as the
style width is arbitrary, but possibly a bad call, since it
doesn't take into account borders, and will cause IE to push
out the bb width for a moment. There's a chance that this could
cause other layout issues or flashing while it updates the UI,
but I'll leave it be for now. |
a3a3ebeca8ef291571feda540b0d1e67cfa840bf |
|
27-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Knocking out more off-by-1px issues.
Container widths are spot on, as are fixed header column widths.
I think I only have one left: the virtual scrollbar
is 1px too tall in y scrolling configs. Then I need a drink. |
6333b0d2c1963e347f6df9a4f7b81cb510390683 |
|
25-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
XY initial tests working except in IE6
Typical overflow issues; height == min-height.
I reaaaally need to be done with this. |
be9626f6dd0214b95bf03baeb5d0202850ec5b4d |
|
25-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Add support for percentage widths + x scrolling |
6ae37bcbb68ad849875f6b36da38b853dd2cd835 |
|
25-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Break out x, y, and xy scrolling sync logic
x and y are looking good. xy needs reimplementing. |
c1eecf248f22f90cc4de43d3a5e35084ce13506f |
|
24-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Restore vertical scroll + caption support |
7e650dee3ff9039fbbc7f97cc3221acefc417628 |
|
24-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Vertical scrolling working, +percentage widths
Still needs caption and x-scrolling. On the way, baby!
Also, did you see that scrolling DT now supports percentage
widths? That, like, totally awesome. Oh, and IE6 sucks. |
e826155e747177a6c8985a1d77f8bc2a580ef19d |
|
23-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Restart. Vertical mostly working.
Columns lined up, virtual scrollbar in place and tracking
scroll.
* Caption not supported yet.
* x and xy scrolling not supported yet.
* Scrollbar syncing not quite right. Factor slightly off?
Something else missing? |
097280f2efb153d101e0d5d1287176a0b133d34e |
|
07-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Add API doc for _xScrollNode |
242beb66986d8f8d27cb8f009be94d7361019cf4 |
|
02-Feb-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
@module @datatable-scroll? OOPS! |
c1aa756d21eb003bb8168875dcdd7abc581955cd |
|
31-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Make scrollTo chainable |
8b072c87174d115055bf34c867e2202215a11d66 |
|
30-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Only add virtual scrollbar if they have a width |
39cd86ca87dc4b053cb7c39908b22453b4063ca4 |
|
28-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
+aria-readonly, role=presentation to templates
Core defines the grid role on the contentBox (should this
be on the boundingBox?) so all <table>s should be role
presentation. No need to move ARIA roles around. |
64bf48446450c9a609a7f3768b8fc194780a40d8 |
|
28-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Improve xy scrolling, templates now protected |
b997a309ae6157688d370ccbdb9cffe508d8b87c |
|
28-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
X scrolling improved, +caption support in x scroll |
65f74abe0edda83a11d7815c8c544d23ff68c531 |
|
25-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Remove tags from css, use new calc for table width
Rather than jump through style hoops, use the clientWidth
of the scrolling container. Still not perfect, but close
enough for now. |
76d7033a325e73cdf8213b5302eaf20e141a4158 |
|
19-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Remove backslash escaping underscores in `code` |
2c1aecfb4cdd2e568233ee3d9f51592d7f9b501c |
|
19-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Clean up API doc formatting |
13d4de0d3f9011654d2daeb7a000ec28bb201492 |
|
18-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Move @for so yuidoc will pick it up |
afc9fd77dbd2f28c467602603e32e673e7b01c1c |
|
18-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Add API docs |
ee2ba0858403cc7b1eea260bc2aea5fb863b233e |
|
18-Jan-2012 |
Luke Smith <lsmith@yahoo-inc.com> |
Initial drop of scrollable DataTable refactor
Still a few niggling details to work out, but it's
a pretty good starting point. |