Yii Framework Forum: Using Dialog Instead Of View For Gridview Updates - Yii Framework Forum

Jump to content

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

Using Dialog Instead Of View For Gridview Updates Rate Topic: -----

#1 User is offline   C Hodges 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 51
  • Joined: 08-April 13

Posted 20 May 2013 - 07:01 PM

Hello:

I'm relatively new to Yii and I'm asking for some help for the best approach to using a dialog to modify some data thats in a GridView. Here is a screenshot for reference:
Attached File  Screen Shot 2013-05-20 at 4.57.49 PM.png (84.17K)
Number of downloads: 11

So what I'd like to do is set it up that when the user clicks the view or update buttons to the left of each row that a dialog will pop-up instead of the default "go to new view" that Yii seems to favor. The goal is that the grid will always be visible and the user can make changes to an individual record as needed.

Is there a way to do this? I've tried to do a render and render partial to create the dialog but each time I'm taking to a blank view that displays JUST the dialog.

Thanks for your help.

Chris
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