set_col_align()

  • Parameters:
    • $col_name: column name
    • $align: alignment direction: “left”, “center”, or “right”.
  • Description:
    • Horizontal alignment of text in a column. The default alignment is left.
  • Example:
1
$dg -> set_col_align('amount', 'right');