Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

FilterBuilder/DataGrid + IE7 causes super slowdown with app

$
0
0
We have a FilterBuilder set up with a Datasource which is tied to a back-end Hibernate object model. We apply the filter, and generate a custom Hibernate query which is used to filter the results and display them in a ListGrid as a live preview.

The surrounding application was developed initially without SmartGWT, so the containing widgets are not intended necessarily to be mixed and matched with SmartGWT, but it would require a significant re-design to change the way it currently works.

In Firefox or Chrome, (or IE using Chrome's Javascript engine), everything renders perfectly. Unfortunately, we cannot change IE7 due to a customer limitation, so we need to figure out how we can improve performance and rendering as-is.

Also unfortunately, I cannot really post the code due to it being on a classified system, but we have a support contract in place, and if possible, I could provide an unclassified code "shell" which may exhibit the same behaviors. I would prefer to do this via email or PM, as it's sensitive, and not something I would just attach to a public forum :).

In a nutshell, the application is a GWT app which contains two major layouts. One layout contains a "Management Screen" with CRUD type operations, and a second Tabbed Layout which is a wizard type product. Clicking the next/previous/cancel buttons moves the user through the tabs in the wizard.

The layouts are switched between by a GWT EventBus listener, which hides or makes visible each layout, depending on what action the user is performing, whether it's going to the Management screen or going to the wizard.

Here's what happens in IE7: when the user enters the wizard view by clicking the "Create New" button on the Management layout, the Management layout is hidden, and the Tabbed wizard layout becomes visible. The SmartGWT FilterBuilder and ListGrid widgets are initialized in the Wizard layout, and are made visible when the user selects the corresponding tab.

Now, when I remove the SmartGWT widgets from the application entirely and leave blank spaces in their place, the application functions smoothly in IE7 with no slowdown. As soon as I add the SmartGWT components back in, IE7 basically crashes after a few minutes. It becomes completely unresponsive and takes a long time to even close the browser.

Again, this problem doesn't happen at all in Firefox, which renders and performs just fine. Do you have any suggestions?

Viewing all articles
Browse latest Browse all 4756

Trending Articles