Hello,
I have list of items which user can select from. When user select an item appropriate grid appears with some other items. This action is done using ajax like this: user click a button > ajax request is being run > return value is grid which is appended into some DIV element.
Ajax pagination don’t work in this new grid. If I click on next page button I am redirected to new page with unstyled grid. I believe It is because of script for pagination is not loaded when I append grid using ajax and javascript.
Please, could someone give me a way how to solve this or some alternative solution for this situation ?
Thanks.
// I was searching before but i havent found this:
http://www.yiiframework.com/forum/index.php/topic/26984-load-and-init-cgridview-by-ajax/
So, I have my problem solved. Sorry for multiple topic and have a nice day.