Yii Framework Forum: Cgridview Admin Panel - Yii Framework Forum

Jump to content

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

Cgridview Admin Panel Rate Topic: -----

#1 User is offline   FresherInYII 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 27-February 13
  • Location:Sri-Lanka

Posted 28 March 2013 - 09:05 AM

Hey guys.!
Im still a newbie...!

I have a CGridView which has two textAreas... i need to update it without using the default update i.e. CButton Column...
That is update on the panel and click a button to update that particular row...
Part of my admin panel

array(
                'name'=>'work',
                'type'=>'raw',
                'value'=>'CHtml::textArea("work[$data->recordBookId]",$data->work,array("style"=>"width:100px;","style"=>"height:100px;"))',
                'htmlOptions'=>array("width"=>"30px"),
                  ),
            
                array(
                'name'=>'remarks',
                'type'=>'raw',
                'value'=>'CHtml::textArea("remarks[$data->recordBookId]",$data->remarks,array("style"=>"width:100px;","style"=>"height:100px;"))',
                'htmlOptions'=>array("width"=>"30px"),
                  ),
		
		array(
                        'header'=>'Options',
			'class'=>'CButtonColumn',                    
		),


I tried using CCheckBox column to get the id and update it.. but didnt work out....

Please help me if you can...Thanks a bunch..!

Cheerz! :) (Y)
0

#2 User is offline   mirunho 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 170
  • Joined: 19-December 12
  • Location:Gdansk, Poland

Posted 29 March 2013 - 02:07 AM

I think that x-editable http://www.yiiframew...sion/x-editable can help You. Did You try it ?
0

#3 User is offline   FresherInYII 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 27-February 13
  • Location:Sri-Lanka

Posted 29 March 2013 - 08:19 AM

View Postmirunho, on 29 March 2013 - 02:07 AM, said:

I think that x-editable http://www.yiiframew...sion/x-editable can help You. Did You try it ?


@mirunho - nope i didnt try that yet.. Thanks for your suggestion.. i will see to it :)
Cheerz!
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