listGrid doesnt fletch data onscroling

Hi, I am using the pattern from the sticky thread. smart gwt + rpc.
The first chunk of data is loaded when the grid is rendered but after that no scrolling no loading nothing. Where is my mistake? I am using the example from this thread:
http://forums.smartclient.com/showthread.php?t=4814

This is my entry point:
public void onModuleLoad() {

ListGridField rowNum = new ListGridField(“id”, “Id”);
rowNum.setWidth(65);
rowNum.setCellFormatter(new CellFormatter() {
public String format(Object value, ListGridRecord record, int rowNum, int colNum) {
return rowNum +“”;
}
});

ListGridField mail = new ListGridField(“email”, 100);

final ListGrid listGrid = new ListGrid();
rootPanel.add(listGrid);
listGrid.setWidth100();
listGrid.setHeight100();
TestDataSource dataSource = new TestDataSource();
listGrid.setAutoFetchData(true);
listGrid.setDataSource(dataSource);
listGrid.setFields(rowNum, mail);
listGrid.setDataPageSize(10);
listGrid.fetchData();
listGrid.draw();
}

And this is what i have changed in the datasource:

public TestDataSource() {
DataSourceField field;
field = new DataSourceIntegerField(“id”, “id”);
field.setPrimaryKey(true);
field.setRequired(false);
addField(field);
field = new DataSourceTextField(“mail”, “mail”);
field.setRequired(true);
addField(field);
}

@Override
protected void executeFetch(final String requestId, final DSRequest request, final DSResponse response) {
int startRow = request.getStartRow();
int endRow = request.getEndRow();
String sortBy = request.getSortBy();
TestServiceAsync service = ServiceUtils.getTestServiceAsync();
service.fetch(startRow, endRow, sortBy, new AsyncCallback<List<TestRecord>>() {
public void onFailure(Throwable caught) {
response.setStatus(RPCResponse.STATUS_FAILURE);
processResponse(requestId, response);
}

public void onSuccess(List<TestRecord> result) {
ListGridRecord list = new ListGridRecord[result.size()];
for (int i = 0; i < list.length; i++) {
ListGridRecord record = new ListGridRecord();
copyValues(result.get(i), record);
list[i] = record;
}
response.setData(list);
processResponse(requestId, response);
}
});
}

The rpc is working fine(i tested it before).
It seems that afrer the first request(fletch) no other request is made on scrolling.

You don’t seem to be setting totalRows on the dsResponse. Paging only occurs if you advertise that there are more rows to fetch via totalRows.

thank you i will try it tomorrow. But it seems that this will be the problem.