package com.test.client;

import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.data.DataSource;
import com.smartgwt.client.widgets.grid.ListGrid;

public class ClientFilter implements EntryPoint {

	public void onModuleLoad() {
		ListGrid containeeGrid = new ListGrid();
		
		containeeGrid.setShowFilterEditor(true);
		containeeGrid.setWidth("100%");  
		containeeGrid.setHeight("70%");  
		DataSource containeeDS = DataSource.get("clientfilter");
		containeeDS.setAutoCacheAllData(true);
		
		containeeGrid.setDataSource(containeeDS);
		containeeGrid.fetchData();
		containeeGrid.draw();
	}

}
