Yoosuf
(Yoosuf H)
1
I need to update my CGridView data after the user has done changes to the form above, without reloading the page.
I tried using this function inside a CHtml link
<?php echo CHtml::link(‘Link Text’,array(" ‘success’ => ’ $(’#main_table2’).yiiGridView.update(‘main_table2’);’ ")); ?>
However it does not refresh the GridView
Any ideas on how this could be accomplished
mmbalaa
(Mmbalasundaram)
2
try this code in success
$.fn.yiiGridView.update('idname-grid', {
data: $(this).serialize()
});
Yoosuf
(Yoosuf H)
3
No it does not work either
mmbalaa
(Mmbalasundaram)
4
if you can post your code
Yoosuf
(Yoosuf H)
5
I managed to get that working now, but it seems that the CJuiDatePicker has stopped working