SmartClient Version: SNAPSHOT_v9.1d_2013-12-17/PowerEdition Deployment (built 2013-12-17)
IE-8
After upgrading from SmartGWT 2.x to 4.x I am now seeing 2 error messages when I bring up a ListGrid:
Error 1 - Cannot change configuration property 'overflow' to auto now that component isc_ListGrid_2 has been created.
Error 2 - Uncaught exception escaped: java.lang.IllegalStateException
Cannot change configuration 'overflow' to auto now that component isc_ListGrid_2 has been created. See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(...) for custom uncaught exception handling.
In my Dev console, I see:
15:09:08.917:WARN:ListGrid:isc_ListGrid_2:ListGrid initialized with this.fields attribute set to an array containing fields which are already being displayed in another ListGrid instance. To reuse standard field configuration across multiple ListGrids, use listGrid.defaultFields rather than assigning directly to listGrid.fields.
Everything works in SmartGWT 2.x, but these two popup errors are appearing in the same code under SmartGWT 4.x.
In the Javadoc for ListGrid.setDefaultFields(), I'm a bit confused by the writeup. Hopefully I can get some clarification here. The first paragraph reads:
An array of listGrid field configuration objects. When a listGrid is initialized, if this property is set and there is no value for the fields attribute, this.fields will be defaulted to a generated array of field objects duplicated from this array.
Does this mean if there is no datasource added to the ListGrid (providing DataSource fields) then use ListGrid.setDefaultFeilds() for an array of shared common Component fields (ListGridField)?
IE-8
After upgrading from SmartGWT 2.x to 4.x I am now seeing 2 error messages when I bring up a ListGrid:
Error 1 - Cannot change configuration property 'overflow' to auto now that component isc_ListGrid_2 has been created.
Error 2 - Uncaught exception escaped: java.lang.IllegalStateException
Cannot change configuration 'overflow' to auto now that component isc_ListGrid_2 has been created. See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(...) for custom uncaught exception handling.
In my Dev console, I see:
15:09:08.917:WARN:ListGrid:isc_ListGrid_2:ListGrid initialized with this.fields attribute set to an array containing fields which are already being displayed in another ListGrid instance. To reuse standard field configuration across multiple ListGrids, use listGrid.defaultFields rather than assigning directly to listGrid.fields.
Everything works in SmartGWT 2.x, but these two popup errors are appearing in the same code under SmartGWT 4.x.
In the Javadoc for ListGrid.setDefaultFields(), I'm a bit confused by the writeup. Hopefully I can get some clarification here. The first paragraph reads:
An array of listGrid field configuration objects. When a listGrid is initialized, if this property is set and there is no value for the fields attribute, this.fields will be defaulted to a generated array of field objects duplicated from this array.
Does this mean if there is no datasource added to the ListGrid (providing DataSource fields) then use ListGrid.setDefaultFeilds() for an array of shared common Component fields (ListGridField)?
Comment