Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samdark/a-guide-to-yii-grids-lists-and-data-providers

A guide to Yii framework grids, lists and data providers
https://github.com/samdark/a-guide-to-yii-grids-lists-and-data-providers

book yii

Last synced: 28 days ago
JSON representation

A guide to Yii framework grids, lists and data providers

Awesome Lists containing this project

README

        

A guide to Yii grids, lists and data providers
==============================================

Grids, lists and data providers are good addition to Yii core. These were originally
a part of zii, official extension library that was later merged with the framework
itself.

Typically, you would take the following steps when working with components such as grids, lists and data providers.

1. Supply data (in the form of “ar model”, “arrays” or “sql result set”) to a data provider (such as `CActiveDataProvider`, `CArrayDataProvider` and `CSqlDataProvider`) .
2. Use a widget component (such as `CListView` or `CGridView` ) and configure it to display the data.
3. Customize the widget to reflect the presentational style that you are after.

In this guide all these topics will be covered in detail.

~~~
data-provider-intro
data-providers
list-intro
list-xxx
grid-intro
grid-columns
grid-filtering
~~~