You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this class adds JS code to 'afterAjaxUpdate' for reinitializing inplace editor after grid ajax updating.
but this code is absent in the html page because the method 'registerClientScript' in CBaseListView is called before content rendering, but client script need to be registerd just after content (all column with IPE) was rendered.
I've writed EditinplaceColumn class (based on http://code.google.com/p/jquery-in-place-editor/), for updating some fields inside the grid
[code]
...
'columns' => array(
...
array(
'class' => 'EditinplaceColumn',
'action' => array('/ogoods/updatefields'),
'name'=>'price',
'type' => 'currency',
'htmlOptions'=>array(
'class'=>'currency-cell ogoods-price'
),
'options' => array(
'delegate' => array(
'didCloseEditInPlace' => 'js:updateItemTotalPrice'
)
)
),
...
)
...
[/code]
this class adds JS code to 'afterAjaxUpdate' for reinitializing inplace editor after grid ajax updating.
but this code is absent in the html page because the method 'registerClientScript' in CBaseListView is called before content rendering, but client script need to be registerd just after content (all column with IPE) was rendered.
Migrated from http://code.google.com/p/yii/issues/detail?id=2815
earlier comments
qiang.xue said, at 2012-01-01T03:37:10.000Z:
set for 1.1.10 milestone
qiang.xue said, at 2012-01-01T03:37:36.000Z:
set for 1.1.10 milestone
The text was updated successfully, but these errors were encountered: