deniskoronets/Laravel-GridView

View on GitHub
docs/grid-view-configuring.md

Summary

Maintainability
Test Coverage
# GridView Configuring

GridView has such options to be configured

| Option            | Type                 | Demand                                |
| ----------------- | -------------------- | ------------------------------------- |
| dataProvider      | BaseDataProvider     | Data source, see <a href="data-providers">Data Providers |
| columns           | BaseColumn[], []     | Configuration for rendering columns |
| columnOptions     | []                   | Allows to set basic configuration for all columns |
| renderer          | BaseRenderer         | Renderer driver, see <a href="renderers">renderers</a> |
| 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 |