Announcement
Collapse
No announcement yet.
X
-
Issue #1 has been resolved for SGWT 4.1p and newer and the fix will be in the nightlies dated 2015-06-10 and newer.
-
For #1, we'll look into avoiding having these methods return null (which is what causes your code to crash with an NPE). However, you can just fix your code to avoid crashing if null is returned.
On #2 and #3, if you think these might be framework bugs, see the FAQ for the information you need to provide.
Leave a comment:
-
Issues with Grid
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).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.Tags: None
Leave a comment: