This commit is contained in:
Dmitry Naumenko
2016-01-30 18:45:44 +02:00
parent bf42b2442c
commit 9691d3dcc1

View File

@@ -339,7 +339,7 @@ echo GridView::widget([
### Filtering data ### Filtering data
For filtering data the GridView needs a [model](structure-models.md) that takes the input form, the filtering For filtering data the GridView needs a [model](structure-models.md) that takes the input from, the filtering
form and adjusts the query of the dataProvider to respect the search criteria. form and adjusts the query of the dataProvider to respect the search criteria.
A common practice when using [active records](db-active-record.md) is to create a search Model class A common practice when using [active records](db-active-record.md) is to create a search Model class
that provides needed functionality (it can be generated for you by [Gii](start-gii.md)). This class defines the validation that provides needed functionality (it can be generated for you by [Gii](start-gii.md)). This class defines the validation