877-GRID-666 24/7 online support 604, Tower A, New Trade Plaza, N.T., Hong Kong

set_theme()

* Premium themes are currently available in phpGrid Enterprise and higher.

 
 

Note: starting version 6, you can set a global constant THEME in conf.php to change all of your datagrid themes.
X
  • Parameter(s):
    • $theme_name: Theme name
  • Description:
    • This is the phpGrid “Theme Roller”. phpGrid bundles the following themes from jQuery UI:
      • dot-luv
      • excite-bike
      • flick
      • overcast
      • pepper-grinder
      • redmond
      • smoothness
      • start
      • ui-darkness
      • ui-lightness
      • aristo ————– (Premium theme) *
      • cobalt ————– (Premium theme) *
      • cobalt-flat ——— (Premium theme) *
    • The default theme is ‘start‘.
  • Example:
1
$dg -> set_theme('flick');