set_theme()

Note: starting version 6, you can set a global constant “THEME” in conf.php to change all of your datagrid themes without calling set_theme() method individually.

  • 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) *
    • The default theme is ‘start‘.
  • Example:
1
$dg -> set_theme('flick');

* Premium themes are currently available to Enterprise and Universal Licenses.

No related content found.

Tags: ,