Is there any jQuery plugin that can group data - either list or table - based on my criteria?
For example:
$("table").grouping({column: 1});
or
$("ul li").grouping({getgroup: function(item) {
return $(item).text().substr(0, 10); }
});
Something like this. The point here is that I need to change group dynamically - for example, user clicks "group by column 2" and I call $("table").groupby({column: 2}) and table is re-structured (and orders are grouped by customer company instead of customer name).