Skip to the content.

GridView Configuring

GridView has such options to be configured

Option Type Demand
dataProvider BaseDataProvider Data source, see Data Providers
columns BaseColumn[], [] Configuration for rendering columns
columnOptions [] Allows to set basic configuration for all columns
renderer BaseRenderer Renderer driver, see renderers
rendererOptions [] Allows to additionally configure renderer
rowsPerPage int Amount of rows to display per page
tableHtmlOptions [] A list of options to apply to table (k => v) pairs
showFilters bool Allows to enable/disable filters