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', 'bootstrap'); |
Both Bootstrap 3 and 4 (7.4.5+) themes are now supported with ‘bootstrap‘ or ‘bootstrap4‘
The premium themes are currently available in phpGrid commercial licenses.
Related Posts
DEBUG global constantNote: DEBUG global constant is only available starting version 6. For phpGrid version 5.5.5 and lower,…
enable_debug()Note: this method is going to be deprecated in the future. Please use DEBUG global constant…
set_col_readonly()Parameter(s): $col_names: Comma delimited one or more column names Description: Set one more more columns as…