* Currently only supported in the commercial licenses
set_grid_style() is a helper function for simple style update for header background, foreground, its font size, and body font size.
- Parameters:
- $parameter 1: header background color
- $parameter 2: header foreground color
- $parameter 3: header font size
- $parameter 4: body font size
- Description:
- helper function for simple style update for header background, foreground, its font size, and body font size.
- Remark:
- This function is intended for users who are only new to CSS to provide very basic color and font style update.
- To further customize the grid, it is recommended to use an alternative theme or simply use CSS.
- Example:
1 | $dg->set_grid_style('#ff2288', 'white', '16px', '13px'); |