set_col_title()

  • Parameter(s):
    • $col_name: Colume name
    • $new_title: Display title in grid column header
  • Description:
    • Change data grid column header text from the default data field name to more user friendly name
  • Remark:
    • The default column header text is the database table data field name
  • Example:
1
$dg -> set_col_title("fname", "First Name");