multiple tab grid – "max_user_connections" error

Questionsmultiple tab grid – "max_user_connections" error
Baris asked 6 years ago

Hi,

I want to use multiple tab grid, but after 5. grid, I  get “max_user_connections” error. I suppose it is because loading all grids at once. How can I load grids after tab title clicked?

2 Answers
Abu Ghufran Staff answered 6 years ago

If you want to load on tab click, you need to set grid hidden by default:

$opt[“hiddengrid”] = true;
$grid->set_options($opt);

and on click invoke display:

<li><a href=”#tabs-2″ onclick=”$(‘#gview_list2 .ui-jqgrid-titlebar-close span.ui-icon-circle-triangle-s’).click();”>Grid Secondary</a></li>

Demo: http://phpgrid.org/demo/demos/master-detail/multiple-tab-grids.php
Code: http://phpgrid.org/demo/demos/master-detail/multiple-tab-grids.phps

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Baris answered 6 years ago

Thanks, but now I’m having problem with dropdown list filled from database. Can I load dropdowns on click?

Abu Ghufran Staff replied 6 years ago

There is no such function to load dropdown on click. You can review this link to get rid of max_connection error:

https://dba.stackexchange.com/questions/47131/how-to-get-rid-of-maximum-user-connections-error

Your Answer

10 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?