Yii Framework Forum: [Help] CgridView - Yii Framework Forum

Jump to content

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

[Help] CgridView Merubah tampilan data di CgridView Rate Topic: -----

#1 User is offline   zenz_ms 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 15-August 12

Posted 25 August 2012 - 01:30 AM

salam kenal gan, ane masih newbie mau tanya
misal ane punya tabel sbb :
ID | Jenis | Nama | Berat | Controll
1 | Buah | Mangga| 5gr | {update}{delete}
2 | Buah | Jeruk | 3gr | {update}{delete}
3 | Buah | Apel | 1gr | {update}{delete}
4 | Sayur | Tomat | 1gr | {update}{delete}
5 | Sayur | Wortel| 2gr | {update}{delete}

nah ane pengen nampilinnya kaya gini gan
ID | Jenis | Nama | Berat | Controll
1 | Buah | Mangga| 5gr | {update}{delete}
2 | ____ | Jeruk | 3gr | {update}{delete}
3 | ____ | Apel | 1gr | {update}{delete}
4 | Sayur | Tomat | 1gr | {update}{delete}
5 | _____ | Wortel| 2gr | {update}{delete}
gimana ya caranya ? juga biar waktu klik update itu, yg diupdate berdasarkan jenisnya bukan idnya
mohon bantuannya gan, thx before
0

#2 User is offline   teguh11 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 129
  • Joined: 13-November 11

Posted 27 August 2012 - 03:28 AM

http://www.yiiframew...n/groupgridview

coba pake ekstension ini gan.
belajar itu mudah..
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