Friday, September 5th, 2008
jTPS: Animated Sortable Datagrid jQuery plugin
<>p>
The data grid above is a jQuery plugin jTPS that creates a table you can sort and page through, using nice animations, all via a simple call out:
-
-
$(document).ready(function () {
-
$(’#TABLETOCONTROL’).initTable( {perPages:[5,12,15,50,'ALL']} ).controlTable();
-
});
-
Related Content:











Cool, but why have an annoying animation? Thank god that no operating system animates grids.
If animation is what the developer calls the effect when the paging is invoked, I don’t mind it all. It’s fast and very effectively catches the user’s eye to inform him/her that the content has changed. The rest of the controls such as sorting on a column or changing rows per page don’t seem to be animated. The only problem I can see with this is that you still need to load the entire dataset onto the page, so if you have a large recordset like say 1000 entries, it’s going to be quite laggy. It would be cool if it retrieved the following pages by JSON or Ajax, but I guess that would also require a server component as well.
Something is funky about the sort. I think it’s not stable or something.
For chrissakes people, it’s not a grid, it’s a table.
In a grid, I can arbitrarily place any datum in any (x,y) coordinate. in a table I cannot because the columns are typed.
corollary: sorting a grid makes no sense.
@randomrandom:
why sorting maikes no sense?