Hi mathias,
„long“ is not a FieldType in https://smartclient.com/smartgwt/jav...FieldType.html
Perhaps the framework defaults back to text then?
Try „integer“ as type in your .ds.xml, also with your simple criteria.
Best regards
Blama
Announcement
Collapse
No announcement yet.
X
-
Huh, ok. The documentation could be clearer. It's a Long, not a String in the ds.
Leave a comment:
-
You need AdvancedCriteria with equals operator.
Also, what type is the id field in the ds.xml?
Leave a comment:
-
Can't find how to do exact filter in listgrid
Hi, simple question:
When I do this:
It matches 2, 22, 2212 etc.Code:Criteria criteria = new Criteria(); Long[] ids = new Long[]{2}; criteria.addCriteria("id", ids); myGrid.setCriteria(criteria);
I want it to match 2, but I can't remember/find how to do it.
Tags: None
Leave a comment: