pouli
4 Nov 2010, 4:31 AM
Hello,
I am having a a rendering problem between FireFox and IE.
I have a UI that builds itself dynamically after loading.
For example:
var myPanel = new Ext.form.FormPanel({
...
for( a = 0; a != max; a++ )
{
var fieldSet = new Ext.form.FieldSet(
{
id: a,
labelWidth: 25
});
var newTextArea = new Ext.form.TextArea({
....
fieldSet.add(newTextArea);
myPanel.add(fieldSet);
} // end of for
....
I have a dataStore as well that at the end of the load event I have something like this:
myPanel.doLayout();
My problem starts from the fact that the FireFox shows to the user every single textarea that EXT is adding at myPanel.
This produces something like a bad animation where all the UI is moving until all of the textfields being added to myPanel.
On the other hand IE first adds everything and at the end it shows the panel to the user.
Why this is happening and how could I avoid this ?
Thank you
I am having a a rendering problem between FireFox and IE.
I have a UI that builds itself dynamically after loading.
For example:
var myPanel = new Ext.form.FormPanel({
...
for( a = 0; a != max; a++ )
{
var fieldSet = new Ext.form.FieldSet(
{
id: a,
labelWidth: 25
});
var newTextArea = new Ext.form.TextArea({
....
fieldSet.add(newTextArea);
myPanel.add(fieldSet);
} // end of for
....
I have a dataStore as well that at the end of the load event I have something like this:
myPanel.doLayout();
My problem starts from the fact that the FireFox shows to the user every single textarea that EXT is adding at myPanel.
This produces something like a bad animation where all the UI is moving until all of the textfields being added to myPanel.
On the other hand IE first adds everything and at the end it shows the panel to the user.
Why this is happening and how could I avoid this ?
Thank you