I
I
ilysion_in_life2017-06-14 20:12:36
Yii
ilysion_in_life, 2017-06-14 20:12:36

How to output JSON data to GridView table in yii1?

Help with the question, for example, there is data in this format
array(58) {
["title"]=>
string(35) "simple_title"
["id"]=>
int(92)
["created_at"]=>
string(20 ) "2017-05-28T08:28:37Z"
["updated_at"]=>
string(20) "2017-06-02T13:20:49Z"
["type"]=>
string(6) "simple"
[" status"]=>
string(7) "publish"
["downloadable"]=>
this is just an example, how can I display this data in a GridView, or ideally bootstrap.widgets.TbExtendedGridView in yii 1?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OrlandoST, 2017-06-14
@OrlandoST

Use CArrayDataProvider
www.yiiplayground.com/index.php?r=UiModule/datavie...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question