Settings Is Undefined

Hi,

I am having problems with more than one datagrid on a page.

When I have one datagrid on the page, it works perfectly.

But when I have two I get the "settings is undefined" JS error.

Each grid has its own unique ID.

It appears that the "init" function inside the yiigridview.js is not being called so it is not setting the "settings" variable.

Can anyone help?

James.

Try this:

http://www.yiiframework.com/forum/index.php/topic/52611-multiple-cgridviews-dynamic-loading/

http://www.yiiframework.com/forum/index.php/topic/10852-fnyiigridviewupdate-doesnt-work-after-paginate/

http://www.yiiframework.com/forum/index.php/topic/34443-cgridview-typeerror/