Script busy error message
In our application, we are using GWT 2.2.0 and GXT 2.2.3. In this, we have most of the functionality depending on the grid operations like hiding/deleting the rows, calculating the cell values of the row & adding the same to another grid, applying colors to the cell values based on some conditions. Some windows have more than 2 grids.
Here, my problem is : If we get more than 100 records from the DataBase , we are getting an alert box “Warning:Unresponsive script” stating “A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete” in all browsers.
We are also getting the same warning message in IE7 browser even though the no.of records are less than 100.
Can anyone help me to resolve this issue.
Thanks in advance,
Are you loading both grids at the same time? Are these grids very large (many columns)? Are you testing in Web Mode? Dev Mode is expected to take longer, and may produce more of these warnings, but does not mean that web mode will as well.
Instead, you usually need to break the problem into smaller pieced. If both grids are being filled at once, consider breaking that into two deferred commands (using the GWT Scheduler class). If these are very wide grids, you might possibly need to load each one in batches.
More details about your problem or specific code samples will make it easier to provide a solution. You may find it helpful to start with an example at http://sencha.com/examples-2/ and make it more complex until it hits this same issue, then share that so there is a complete example we can run.