mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 01:27:20 +08:00
Update data-overview.md
This commit is contained in:
@ -6,9 +6,9 @@ for the Web site's frontend. But when it comes to backend data components and wi
|
|||||||
|
|
||||||
Typically, you would take the following steps when working with one of these data components:
|
Typically, you would take the following steps when working with one of these data components:
|
||||||
|
|
||||||
1. Configure the data provider. It may get its data from an array, an SQL command, an ActiveRecord query, etc.
|
1. Configure the [data provider](data-providers.md). It may get its data from an array, an SQL command, an ActiveRecord query, etc.
|
||||||
2. Pass the data provider to a widget, such as a list view or grid view.
|
2. Pass the data provider to a widget, such as a [list view](data-widgets.md#list-view) or [grid view](data-grid.md).
|
||||||
3. Customize the widget to reflect the presentational style that you are after.
|
3. Customize the widget to reflect the presentational style that you are after.
|
||||||
|
|
||||||
That's it. After doing these simple steps you will have powerful interfaces, such as a full featured data grid that supports pagination, sorting, and
|
That's it. After doing these simple steps you will have a powerful interfaces, such as a full featured data grid that supports pagination, sorting, and
|
||||||
filtering, ideal for admin part of your project.
|
filtering, ideal for the admin part of your project.
|
||||||
|
|||||||
Reference in New Issue
Block a user