Developer Network Home - Help

YUI Library Examples: DataTable Control (beta): XY-scrolling, Y-scrolling, and X-scrolling

DataTable Control (beta): XY-scrolling, Y-scrolling, and X-scrolling

Scrolling can be enabled on a DataTable along the x, y, or xy-axes. Set the DataTable's "scrollable" value to "true", and set a width and/and or height string values.

Note: All implementation examples include compressed code patches for 2 bugs introduced in version 2.5.1 and detailed in the Known Issues section. Implementers who are enabling affected features should take care to include the appropriate patches in their pages.

XY Scrolling

Y Scrolling

X Scrolling

Sample Code for this Example

Data:

CSS:

Markup:

JavaScript:

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings