Yii Framework Forum: Delete selected record using Checkbox - Yii Framework Forum

Jump to content

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

Delete selected record using Checkbox Rate Topic: -----

#1 User is offline   neel 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 133
  • Joined: 08-October 09

Posted 11 January 2010 - 09:42 AM

Hello,
I want to delete selected record using check box like yahoo mail or hotmail. Can anyone tell me how to do that.
THanks
0

#2 User is offline   Horacio Segura 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 535
  • Joined: 11-August 09
  • Location:Argentina

Posted 11 January 2010 - 10:24 AM

View PostNeel, on 11 January 2010 - 09:42 AM, said:

Hello,
I want to delete selected record using check box like yahoo mail or hotmail. Can anyone tell me how to do that.
THanks


maybe using http://www.yiiframew...uide/form.table
KISS - Keep It Simple Stupid
ASAP-As Soon As Possible
http://www.yiiframew...oc/cookbook/71/
http://hmsegura.blogspot.com/
0

#3 User is offline   Zeljko 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 12-January 10

Posted 12 January 2010 - 03:19 AM

View PostNeel, on 11 January 2010 - 09:42 AM, said:

Hello,
I want to delete selected record using check box like yahoo mail or hotmail. Can anyone tell me how to do that.
THanks


If you were using GridView widget you could:

- put grid inside form
- add CCheckBox column to the grid
- create button for delete command that will post form
- implement delete action
0

#4 User is offline   nemo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 142
  • Joined: 24-February 10

Posted 26 February 2010 - 12:18 PM

I have same problem. want to delete/update using checkbox. Can anyone send an example?
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