Added an option to the paginated display: display all elements on one page.

SVN:trunk[1374]
This commit is contained in:
Denis Flaven
2011-07-27 10:24:06 +00:00
parent 5f2a5d9cfa
commit 3c76b90a48
4 changed files with 7 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ function sprintf(format, etc) {
function setPageSize(table,size) {
var c = table.config;
if (size == -1)
{
size = c.totalRows;
}
c.size = size;
c.totalPages = Math.ceil(c.totalRows / c.size);
c.pagerPositionSet = false;