Yii Framework Forum: Cgridview - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cgridview render it 2 times Rate Topic: -----

#1 User is offline   TonyBoy 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 23-December 12

Posted 18 April 2013 - 01:21 AM

Hello,

Is it possible to configure CGridView to render the data in two sets of columns, next to each other?
Let me show, so you can get the idea:

Instead of:
------------------------
description1 | button1 |
description2 | button2 |
description3 | button3 |
description4 | button4 |
...

Each row on screen represent different DB record

To have:
--------------------------------------------------
description1 | button1 || description3 | button3 |
description2 | button2 || description4 | button4 |
....

Now we have 2 DB records for each row on the screen



Cheers.
0

#2 User is offline   TonyBoy 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 23-December 12

Posted 19 April 2013 - 02:11 AM

Is there really no way to make CGridView to render the data in 2 sets of columns next to each other?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users