Announcement
Collapse
No announcement yet.
X
-
Can't get listgrid filter to work with foreign key field.
I have a listgrid with a couple of fields. One field in the datasource is a foreign key field to another datasource, like this:
Code:<field name="locationId" type="integer" foreignKey="location.id" required="true" combo="false" hidden="true"/>
Code:Criteria filter = new Criteria(); filter.addCriteria("locationId", filterVal); filterGrid.filterData(filter);
Tags: None
Leave a comment: