if(this.dataSource instanceof RemoteDataSource<?>)
{
RemoteDataSource<?> remote = (RemoteDataSource<?>) this.dataSource;
remote.setCallback(new RemoteDataSourceCallback()
{
public void execute(int startRecord, int endRecord)
{
loaded = true;
render();