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 (6)
- YUI Util DOM (2)
Ads
YUI Blog
- YUI Theater — Douglas Crockford: “Crockford on JavaScript — Episode IV: The Metamorphosis of Ajax” (93 min.)
- YUI 3 Gallery Contest 2010 — Win a Ticket to JSConf 2010
- Happy First Birthday, JSMag
- In the YUI 3 Gallery: Stephen Woods’ TimePicker Module
- Tickets Remaining for Wednesday’s Crockford on JavaScript
Cloudy these days!
window.resize insertAfter Dialog CSS getPreviousSibling() YAHOO.Dom.Event YAHOO.util.Event.addListner getViewPortWidth() YUI Event onDomReady FireBug Simple Dialog getLastChild Rollup setStyle() getElementsByClassName Event Container Calendar Yahoo User Interface Panel Get createElement generateID init() inDocument() YUI Framework javascript YUI Loader getViewPortHeight() YAHOO.Util.Dom HTML DOM window.alert
[...] rest is here: YUI DataTable: Context Menu with “Select/Unselect All” rows Posted in Object, software. Tags: calendar, createelement, delicious, dialog, home, stumbleupon, [...]