Thank you Val. Appreciate the help.

On Wednesday, March 2, 2016 at 1:51:58 PM UTC-5, Val K wrote:
>
> As I know it's impossible to have 2 "static" (not ajax)  SQLFORM.grids at 
> the same page, because each of them will treat request.args  as its own 
>
> Use {=LOAD(... , ajax=True)} 
>
> And I think  you have to have different controllers to process them or one 
> controller that will return different results depends on "whose requests" - 
> return dict(grid= grid1)  or  return dict(grid= grid2)  not both!
>
>
> On Wednesday, March 2, 2016 at 8:12:49 PM UTC+3, Ron Chatterjee wrote:
>>
>>
>> If I have two independent grid, when I search in one grid, it gets 
>> redirected to the other tab. And I noticed this with other tab panel as 
>> well.  
>>
>>
>>
>> <div id="tabs">
>>   <ul>
>>     <li><a href="#fragment-1"><span>My Projects</span></a></li>
>>     <li><a href="#fragment-2"><span>My Payments</span></a></li>
>>     <li><a href="#fragment-3"><span>My Contacts</span></a></li>
>>   </ul>
>>   <div id="fragment-1">
>>     
>>       {{=grid1}}
>>   </div>
>>   <div id="fragment-2">
>>     {{=grid2}}
>>   </div>
>>   <div id="fragment-3">
>>     Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam 
>> nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat 
>> volutpat.
>>     Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam 
>> nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat 
>> volutpat.
>>     Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam 
>> nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat 
>> volutpat.
>>   </div>
>> </div>
>>
>> <script>
>> $( "#tabs" ).tabs();
>> </script>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to