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

THEME global constant

Available starting phpGrid 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.

1
2
// set a global theme in conf.php (version 6+)
define('THEME', 'cobalt');

The premium themes are currently available in phpGrid Enterprise and higher.