display()

  • Parameter(s):
    • $render_content: Optional. True or false. Render content to screen, default value is set to true.
  • Description:
    • This is the method to call to display the datagrid. This is usually the last method to call. It automatically stores the output to output buffer first before rending the data grid.
  • Remark:
    • Unless used together wtih get_display(), it’s not necessary to supply a parameter value.
  • Example:
1
$dg -> display();