kopecsrk
(Dzumir)
1
hello, i have some problem.
I heve in FormController action "ADMIN". And inside, i render "_search" view.
I have CGridView, and when i search some param. i have tree button, delete, update, and view.
I need remove this button, and i need some that:
When i click in some form inside CGridView rendering, i want update this row.
Example:
[search][search][search][search]
id name name2 year <-- when i click there, this row, now render update.
How do it?
If you are using bootstrap then its http://yiibooster.cl…s.html#editable
if NOt see it source code you will have an idea
Please visit
http://www.yiiframew…in-a-cgridview/
http://www.yiiframew…table-gridview/
kopecsrk
(Dzumir)
3
I use default CgridView.
<?php
$this->widget('zii.widgets.grid.CGridView', array(
'id' => 'formularz-grid',
'dataProvider' => $model->search(),
'cssFile' => '/reciuter/css/styles.css',
'enablePagination' => false,
'summaryText' => '',
'filter' => $model,
'columns' => array(
'NAME',
'DATE',
'ANME2',
'YEAR',
'EMIAL',
),
));
?>
i need CGridView some example, how i can update same searching form inside CGRidView.