| Page 1 of 1 | [ 6 posts ] |
|
Good day everyone!
I'm searching for a way to delete a particular row from datatable. Something similar to http://www.yuiblog.com/blog/2007/09/26/satyam-datatable-2/ but for YUI3. Regards, Zaar |
|
YUI3 DataTable is a very primitive component at this point. You might be better of if you compile a list of things you want your DataTable to do and compare features right now and decide on one or the other instead of going any further on a track you might have to reverse.
At this point, I am unaware that YUI3 DataTable has any means of deleting a row, other than you do it yourself deleting both the Record instance in the RecordSet and the TR element in the table. The later would leave a gap in the even/odd row coloring, which you would then have to fix. In the end, before you bump into the next issue, rethink it all. You can use YUI2 DataTable in YUI3 and many people do so. |
|
Satyam, I see your point.
When choosing between YUI3 and YUI2 I've seen that YUI3 is around for 3 years already and it looked convincing enough. I need datatable to support 1. Column-based CSS clases - (fixed yesterday here - viewtopic.php?f=92&t=8658, thanks to you) 2. Row filtering - seems to work according to this example http://www.yuiblog.com/blog/2011/03/01/ ... datatable/ 3. Row deletion - seems to be doable according to your guidelines (and I do not need even/odd row coloring). This is my first experience with YUI (and more or less with JavaScript). I've chosen YUI3 over YUI2, because I did not want to invest time in something that will become deprecated soon. If you have another minute to spare I would love to hear your opinion on my choices. Thank you in advance, Zaar. |
|
YUI3 is, in general, a much better option, the DataTable, however, is a newish component within YUI3 so it is still lacking. If this is as far as you mean to go, by all means, go ahead with YUI3. I feared you might have further requirements which might force you to pick the YUI2 version after wasting too much time in the YUI3 version.
|
|
Thanks you for making my grounds stronger.
Additionally I see that poking around with YUI3 datatable it gets attention from developers (like yesterday's CSS classes fix). Thank you again for your time. Zaar |
Francesco PongiluppiYUI Contributor
|
The next YUI (3.5) version should be codenamed "Datatable"!
http://www.yuiblog.com/blog/2011/07/19/ ... july-21st/ With this release (3.4) we've been gifted with a shiny Autocomplete and a Calendar, and we're just a Datatable away to say goodbye to good ole YUI2. |
| Page 1 of 1 | [ 6 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