Mgallegos\LaravelJqgrid\Renders\RenderInterface::renderGrid PHP Method

renderGrid() public method

Main method that construct the html and javascript code of the grid.
public renderGrid ( boolean $script = true, boolean $createTableElement = true, boolean $createPagerElement = true, boolean $echo = true ) : mixed
$script boolean If true a script tag before constructin the grid. Default is true
$createTableElement boolean If true the table element is created automatically from this method. Default is true
$createPagerElement boolean If true the pager element is created automatically from this method. Default is true
$echo boolean If false the function return the string representing the grid. Default is true
return mixed String if $echo is set to false, void in any other case
    public function renderGrid($script = true, $createTableElement = true, $createPagerElement = true, $echo = true);