Hello,
I recently upgraded to SmartGWT ver 5p (v10.0p_2015-05-25/LGPL Development Only (built 2015-05-25) from version 4.
I have faced 3 issues after this upgrade, given below,
1)
I have below code
here I am getting a Null Pointer Exception at record.getIsGridSummary() check (here record is not null).
This was working fine with version 4.
I believe this is bug as a getter should not be failing due to NPE.
Workaround: doing a null check on isGridSummary().
2)
Calling fetchData() on a data source is throwing error related to Criteria not being defined.
I found a workaround i.e. to call fetchData(null), by passing null.
3)
Use of listGrid.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
is failing. Error is "Cannot read property 'duplicate' of undefined".
workaround: removed this property for timebeing.
Kindly let me know if these will be fixed in upcoming patch.
Thanks,
Anup.
I recently upgraded to SmartGWT ver 5p (v10.0p_2015-05-25/LGPL Development Only (built 2015-05-25) from version 4.
I have faced 3 issues after this upgrade, given below,
1)
I have below code
Code:
if(record==null || record.getIsGridSummary() || record.getIsGroupSummary() ){ return style; }
This was working fine with version 4.
I believe this is bug as a getter should not be failing due to NPE.
Workaround: doing a null check on isGridSummary().
2)
Calling fetchData() on a data source is throwing error related to Criteria not being defined.
I found a workaround i.e. to call fetchData(null), by passing null.
3)
Use of listGrid.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
is failing. Error is "Cannot read property 'duplicate' of undefined".
workaround: removed this property for timebeing.
Kindly let me know if these will be fixed in upcoming patch.
Thanks,
Anup.
Comment