Page 1 of 1

grid add - script may be running or stopped responding

Posted: Thu Aug 15, 2013 3:49 am
by oliveira

PHPMaker 10. When making a record with relationships using lookup use tables, I have more than 4000 reistros using 6 lines, it takes very redebo and then an error message:

A script on this page may be running or stopped responding.
You can stop now or keep it to see if it finishes execution.
script:
localhost/sistemav10/jquery/jquery-1.10.1.min.js:4

That is in grid add


Re: grid add - script may be running or stopped responding

Posted: Thu Aug 15, 2013 11:19 am
by mobhar

Have you tried to enable "Use Ajax" from Select Tag Attributes of the Fields setup?


Re: grid add - script may be running or stopped responding

Posted: Thu Aug 15, 2013 12:14 pm
by Webmaster

4000 options is too many for a selection list, it'll takes a long time for the script to build it, it is also not user friendly, use Auto-Suggest if possible.


Re: grid add - script may be running or stopped responding

Posted: Thu Aug 15, 2013 9:12 pm
by oliveira

Have not tried using ajax

Are 4000 records in the database. The page size is 6 lines.
With PHPMaker 7 does not take long to load the page
When using the option to add too much delay


Re: grid add - script may be running or stopped responding

Posted: Fri Aug 16, 2013 1:24 am
by oliveira

The add is also significantly slower than in v7
Tested use ajax v7 and realized that is significantly slower, so I will not even use it with v10


Re: grid add - script may be running or stopped responding

Posted: Fri Aug 16, 2013 1:39 am
by mobhar

Yeah, the best approach is by using "Auto-Suggest".