Instead of displaying one long table with many rows and use the scroll
bar to look at the data.
Is it possible to divide the table so that each screen will display at
most 40 rows?
The user click the Next, Previous buttons to go to the next or
previous page.
or the 1, 2, 3, ... to go to any page
Something like:
$(long-table).select(tr).eachSlice(40, function(rows) {
var table = new Element(table);
rows.each(function(tr) {
table.insert(tr);
});
$(document.body).insert(table);
});
That would leave you with all of the table rows moved into new tables with
40 rows each (the
That really should be handled serverside IMO. Otherwise all the data
is downloaded upon initial page call when all you need is one page
worth at that point.
Sent from my phone so please pardon any spelling errors.
On Feb 9, 2010, at 10:20 AM, albert kao albertk...@gmail.com wrote:
Instead of