vtfuture / BForms

Bootstrap Forms for ASP.NET MVC
MIT License
62 stars 33 forks source link

Ajax problem for widget.subscribers - one toolbar, two grids #243

Closed ewelinaprus closed 9 years ago

ewelinaprus commented 9 years ago

Hello,

I need to add two grids, which could be filtered by one toolbar. I created two different grids with full features, separated controllers and one toolbar with array of subscribers.

Everything works fine if I don't use searching. If I do - only the last grid is filtered. The first one is endless loading.

Iteration by subscribers works, I can see pagerUrl and each subscriber object properly. The problem is that _getPage() execute only the last query: $.bforms.ajax(ajaxOptions); so the first grid doesn't load corectly.

I would be grateful for any solution.

Ewelina

ewelinaprus commented 9 years ago

OK, it seems to be solved by setting uniqueName... :)