All
I have a listGrid defined as follows
When I insert a record into the DataSource
If I then receive a new request very quickly and I try and search the grid to see if we already have a similar object
The grid does not return anything. But the callBack does get called after a while.
I have a listGrid defined as follows
Code:
DataSource source = new DataSource(); ListGrid grid = new ListGrid(); grid.setDataSource(this.executionsDataSource); grid.setAutoFetchData(true);
Code:
dataSource.addData(record, new DSCallback() { @Override public void execute(DSResponse response, Object rawData, DSRequest request) { logger.log(Level.FINE, "Record with execution id ["+response.getStatus()+"]"); } });
Code:
Record record = (Record) grid.getRecordList().find("field1", value);
Comment