Yahoo! 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.

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