Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
d82932c4
Commit
d82932c4
authored
Nov 10, 2014
by
Nikola Basic
Committed by
Alexander Makarov
Nov 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed broken links [ci skip]
parent
61376c72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
output-data-widgets.md
docs/guide/output-data-widgets.md
+4
-4
No files found.
docs/guide/output-data-widgets.md
View file @
d82932c4
...
...
@@ -40,7 +40,7 @@ GridView
--------
Data grid or GridView is one of the most powerful Yii widgets. It is extremely useful if you need to quickly build admin
section of the system. It takes data from
[
data provider
](
data-providers.md
)
and renders each row using a set of columns
section of the system. It takes data from
[
data provider
](
output-
data-providers.md
)
and renders each row using a set of columns
presenting data in a form of a table.
Each row of the table represents the data of a single data item, and a column usually represents an attribute of
...
...
@@ -251,9 +251,9 @@ echo GridView::widget([
### Filtering data
For filtering data the GridView needs a [model](
model
.md) that takes the input from 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.
A common practice when using [active records](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). This class defines the validation
rules for the search and provides a `search()` method that will return the data provider.
...
...
@@ -420,7 +420,7 @@ $query->andFilterWhere(['LIKE', 'author.name', $this->getAttribute('author.name'
> ```
> Info: For more information on `joinWith` and the queries performed in the background, check the
> [active record docs on eager and lazy loading](active-record.md#lazy-and-eager-loading).
> [active record docs on eager and lazy loading](
db-
active-record.md#lazy-and-eager-loading).
#### Using sql views for filtering, sorting and displaying data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment