Yii Framework Forum: Ajasbutton Config - Yii Framework Forum

Jump to content

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

Ajasbutton Config Rate Topic: -----

#1 User is offline   languid 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 28-February 13

Posted 28 February 2013 - 12:55 PM

Hi,

In an otherwise great extension, I am having difficulty using a QuickDlg::ajaxButton to submit selected CGridView rows to a dialog. My button has the following code:

EQuickDlgs::ajaxButton(
           
            array(
                'controllerRoute' => $this->createUrl('articleData/multipost'), 
                'actionParams' => array('id'=>"[b]js:$.fn.yiiGridView.getChecked('#articleGrid');return false;")[/b], 
                'dialogTitle' => 'Multiple Posts',
                'dialogWidth' => 800,
                'dialogHeight' => 600,
                'openButtonText' => 'Post Selected',
                'closeButtonText' => 'Close',
								
            )
        );


The js code is never actioned. Is there an 'onclick' event handler?.

Alternatively, how easy would it be to modify the QuickDlgs code to include a form submit button?

Any help much appricated.
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