Style Archives | phpGrid - PHP Datagrid Create PHP grids in minutes, not hours. Tue, 27 Apr 2021 00:25:19 +0000 en-US hourly 1 CodeProjecthttps://wordpress.org/?v=7.0.3 129966043 set_grid_style() https://phpgrid.com/documentation/set_grid_style/ Tue, 27 Apr 2021 00:24:07 +0000 https://phpgrid.com/?p=9699 * 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 […]

The post set_grid_style() appeared first on phpGrid - PHP Datagrid.

]]>
* 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');

The post set_grid_style() appeared first on phpGrid - PHP Datagrid.

]]>
9699