| Page 1 of 1 | [ 2 posts ] |
|
Am I incorrect in believe a message of "No results" or "No records found" was default behaviour in YUI 2.x?
Not getting as much in YUI 3.4, and cannot locate a suitable function regarding. |
Khoa Bui
|
I run into this situation previously, and found no such support for message.
If you inspect the datatable, you will see and tbody tag with class 'yui3-datatable-msg' that right above the tbody for table content. This tbody is aimed to display table message but still not implemented. And in the datatable-base.js, you will see there is a corresponding _msgNode. Based on these facts and learning from the source how 'caption' attribute is made available, I decided to implement a custom attribute 'message' for datatable, then I can call Code: aDatatable.set('message', 'Entry not found'); to set the message |
| Page 1 of 1 | [ 2 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