I want to select a record in the listgrid based on a criteria i provide. How do I do this?
My criteria is:
I tried to first get all the records in the listgrid, then use .find to get the record I want:
But it's not returning anything.
My criteria is:
Code:
Criteria criteria= new Criteria();
filterCriteria.addCriteria("id", idToSelect)Code:
RecordList userRoles = grid.getDataAsRecordList();
Record record =userRoles.find("id", idToSelect);But it's not returning anything.