set_pagesize()

  • Parameter(s):
    • $pagesize: An integer value indicates number of results displaying in a page in the datagrid
  • Description:
    • This method changes the default pagination of the datagrid. The default is 20.
  • Example:
1
$dg -> set_pagesize(40);  // display up to 40 rows in a page