YUI recommends YUI3.
YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.
This documentation is no longer maintained.
A demonstration of switching DataTable into Quick Edit
mode. When the table first loads, it displays the normal way. When it switches to Quick Edit mode, the editable colums are filled with input fields. getQuickEditChanges()
returns the changed values for efficiently saving the updates.
In Quick Edit mode, hold down the Control key and press the up or down arrow keys to move within a column.
To test validation, try entering John Lindal
as the author, anything other than 4 digits for the date, and anything other than a positive integer for the quantity.
Also available here.
Note: You are viewing this example in debug mode with logging enabled. This can significantly slow performance.
All YUI 2.x users should review the YUI 2.8.2 security bulletin, which discusses a vulnerability present in YUI 2.4.0-2.8.1.
Copyright © 2013 Yahoo! Inc. All rights reserved.