| Page 1 of 1 | [ 3 posts ] |
|
Hi, I am new to YUI and I want to deal with tables. The features for the columns really interests me but i wish i can do the same thing with the rows, like moving rows or hidding rows. I did not see a feature enabling it.
So my question is: did I miss something in the API and these feature exists or is it a feature that is coming in new versions or do i have to code it myself? Thanks, Thibaut |
|
You have missed nothing. The DataTable is column-oriented, like a table in a DataBase, it is not a regular grid like that on a spreadsheet.
Hiding columns is usually done by assigning a className in the function assigned to the formatRow configuration attribute, which has the display:none attribute. As for moving rows, there is nothing built in, not even a moveRow method. You have to delete the row from its position and add it elsewhere. |
|
Ok, thank you.
|
| 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