Andy from Coderfoo.com created this excellent example and code sniplet to demo a function he created that uses a context menu to select and deselect all rows from a YUI datatable. At first I simply thought he was just accessing a regular function within YUI but he soon corrected me. He explained that while YUI has a deselect function for all rows a select all function did not exist. So knowing Andy he took on the challenge of creating this function. Thanks again Andy for sharing your code with us.
Working Example on CoderFoo.com http://www.coderfoo.com/examples/datatable-multi-row-select.html
Categories
- Dialog (1)
- YUI Animation (1)
- YUI Calendar (1)
- YUI Container (1)
- YUI Datatable (2)
- YUI Get (1)
- YUI Loader (3)
- YUI Mish Mash (7)
- YUI Util DOM (2)
Ads
YUI Blog
- Ask Satyam — and Be Eligible for a Free Copy of the New YUI 2.8 Book from Packt
- YUI 3.2.0 Preview Release 1: Touch Event Support, Gestures, Transitions, CSS Grids, ScrollView, Uploader, and More
- YUI Theater Comes to Boxee, Courtesy of Chad Auld and the Brilaps Team
- Frontend Engineering Positions Available with the Yahoo! Flex Force Team
- YUI: Open Hours Wed, July 21st
Cloudy these days!
FireBug HTML DOM YAHOO.Dom.Event window.alert getViewPortHeight() getElementsByClassName YAHOO.Util.Dom getLastChild YAHOO.util.Event.addListner Dialog onDomReady YUI Loader init() Event Get YUI Framework insertAfter Panel getPreviousSibling() CSS Rollup Calendar generateID getViewPortWidth() Container Yahoo User Interface Simple Dialog createElement YUI Event setStyle() inDocument() window.resize javascript
[...] rest is here: YUI DataTable: Context Menu with “Select/Unselect All” rows Posted in Object, software. Tags: calendar, createelement, delicious, dialog, home, stumbleupon, [...]