Articles tagged with "carraydataprovider", sorted by date (updated)X
Displaying 1-5 of 5 result(s).

An important tip when you are using CArrayDataProvider.

Updated 8 months ago by Maurizio Domba CerinTips0 comments – viewed 13,664 times – ( +8 / -2 ) – version 1.1
Yii's CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “ is not defined”.

custom sql query results to CDetailView

Updated 3 years ago by Rohit SutharHow-tos8 comments – viewed 34,517 times – ( +3 / -1 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

multiple CActiveDataProviders in one CGridView

Updated 3 years ago by NashiHow-tos7 comments – viewed 23,765 times – ( +8 / -2 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

How to display data from two tables in TbGridView using DataProvider?

Updated 3 years ago by Rohit SutharTutorials4 comments – viewed 16,554 times – ( +6 / -2 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

Using filters with CGridView and CArrayDataProvider

Updated 4 years ago by yugeneHow-tos33 comments – viewed 75,648 times – ( +23 / -1 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.