grid add - script may be running or stopped responding

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
oliveira
User
Posts: 45

grid add - script may be running or stopped responding

Post 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


mobhar
User
Posts: 11747

Post by mobhar »

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


Webmaster
User
Posts: 9430

Post 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.


oliveira
User
Posts: 45

Post 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


oliveira
User
Posts: 45

Post 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


mobhar
User
Posts: 11747

Post by mobhar »

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


Post Reply