Widget modelGrid
The “Model Grid” type of widget shows a tabular display that contains information about model.
This configuration of ModelGrid widget should start with widget_modelgrid_. At the end you you can describe the configuration with any name you want e.g. widget_modelgrid_employees.
The parameters of widget_modelgrid_ are:
Parameter |
Description |
---|---|
name |
Specifies the name of the model to process |
title |
Headline of widget |
filter |
Specifies the fields of the model to process |
sortcolumn |
Specifies upon which column the result will be sorted |
sortopt |
Specifies the sorting direction – ascending or descending |
Example New Employees Grid