But it sounds likely.
RRListView - a CListView extension to allow Ajax browser history
#61
Posted 03 January 2012 - 06:38 PM
But it sounds likely.
#63
Posted 04 January 2012 - 12:01 PM
#64
Posted 04 January 2012 - 05:02 PM
jacmoe, on 04 January 2012 - 12:01 PM, said:
yes, id is passed:
$this->widget('ext.RRViews.RRGridView', array(
'id'=>'customer-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'extensionAssets' => Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('ext.RRViews.assets')),
'cssFile' => Yii::app()->baseUrl . '/css/gridview/styles.css',
'ajaxUrl'=>CHtml::normalizeUrl(Yii::app()->createUrl('/customer/customeradminplain')),
//'selectionChanged'=>'jumpToUpdate',
'selectableRows'=>2,
'columns'=>array(
#65
Posted 04 January 2012 - 06:25 PM
I could be wrong, of course.
Check that the id is set properly (view source) - otherwise the first widget, or is it the second? would fail due to same id.
#66
Posted 05 January 2012 - 04:22 AM
Bildschirmfoto 2012-01-05 um 10.20.21.png (11.18K)
Number of downloads: 16
I first had an improvement while i was adding a Column customer_id at first column (in sample its id) which removes the first error, but as shown in the pic, paging doesn't work anymore...
Thank you so much for your support!
jacmoe, on 04 January 2012 - 06:25 PM, said:
I could be wrong, of course.
Check that the id is set properly (view source) - otherwise the first widget, or is it the second? would fail due to same id.
#67
Posted 09 January 2012 - 07:38 AM
Take a look at svn/tags/1.1.9/framework/zii/widgets/assets/gridview/jquery.yiigridview.js on code.google.com
While extension developers are working on the update, here's the workaround that worked for me: just revert Yii's jquery.yiigridview.js (located in Yii framework dir in zii/widgets/assets/gridview/) to revision 3437 (yii.googlecode.com/svn-history/r3437/trunk/framework/zii/widgets/assets/gridview/jquery.yiigridview.js).
Do not forget to empty your application's assets folder after that.
PinkBrainPlan, on 03 January 2012 - 07:51 AM, said:
#68
Posted 11 January 2012 - 05:18 AM
exec{}, on 09 January 2012 - 07:38 AM, said:
Take a look at svn/tags/1.1.9/framework/zii/widgets/assets/gridview/jquery.yiigridview.js on code.google.com
While extension developers are working on the update, here's the workaround that worked for me: just revert Yii's jquery.yiigridview.js (located in Yii framework dir in zii/widgets/assets/gridview/) to revision 3437 (yii.googlecode.com/svn-history/r3437/trunk/framework/zii/widgets/assets/gridview/jquery.yiigridview.js).
Do not forget to empty your application's assets folder after that.
THANK YOU!!! This workaround is working! Hope that rrviews or yii-developers will come with a path soon, as I'm not very good in managing to many different versions of the perfect components everybody builds here!
#69
Posted 29 March 2012 - 02:28 PM
#71
Posted 28 May 2012 - 01:11 PM
Anand Sainath, on 21 May 2012 - 02:52 AM, said:
Sorry for not having replied before - I haven't looked at this thread for some time, and for some reason I haven't had any notification emails about people adding comments.
This issue has not been fixed yet. I have a version that I have modified which is running ok, but I'm not satisfied enough to release that yet, and haven't had the time to work properly on it. As Preston pointed out, there has been pretty much a complete rewrite of the Javascript for CListView and CGridView, so everything I did to try and ensure forward compatibility has been to no avail. That said, I think the rewrite is a significant improvement, but because it uses anonymous functions, I haven't found a way that is to my liking to override the framework Javascript without impacting functionality for the standard grid and list views. It may be that I just have to accept that I can't extend the Yii Javascript and just replace it with my own.
Anyway, sorry for the delay (I hadn't seen that people were asking for it), and I will upload something that works soon (even though it may not be very forward compatible).
#72
Posted 28 May 2012 - 02:06 PM

Help












