| Page 1 of 1 | [ 3 posts ] |
|
How do I implement a checkbox column in YUI3's datatable?
Thanks, Scott |
|
You can define a custom formatter on a new "unbound" column that create the INPUT[type=checkbox] for each row. Then define a "click" handler linked to the DataTable with a subset of checkbox that will track the clicks to do whatever you need it to.
There is a short fiddle I worked up at http://jsfiddle.net/blunderalong/3gfZ5/ which shows a very basic working example. Todd |
|
Exactly what I was looking for. Thank you very much.
Scott |
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group