set_row_color()

  • Parameter(s):
    • $hover_color: Background color when mouse is over a row
    • $highlight_color: Background color when a row is clicked on
    • $alt_color: Alternating row color
  • Descript:
    • This method is pure cosmetic. When modified, it overwrites color of jQuery UI properties:
      • ui-state-hover,
      • ui-state-highlight
      • ui-priority-secondary
  • Example:
1
$dg -> set_row_color('yellow', 'lightblue', 'lightgray');