How call the afterAjaxUpdate when dropDownList be selected? I want to update an element after of cgridview updating, but the cgridview updating may occurs by dropDownList.
The $.fn.yiiGridView.update("gridid") works but in my case with problems
I want a functionality that updates the CGridView by selection of dropDownList and vice versa.
So the afterAjaxUpdate triggers dropDownList selection event, the the last event call again the afterAjaxUpdate trough $.fn.yiiGridView.update("gridid") in infinite loop!
So I seperated my javascript into two functions one for afterAjaxUpdate and another for $form->dropDownList selection event. Now everything works fine!
The Best Solutions is your grid data is create the different page and call this page in admin.php so when u select dropdown u can only renderPartial this page so no more ajax and jquery call