ListHandler<ProductSummaryDTO> sortHandler = new ListHandler<ProductSummaryDTO>(this.selectedProductsDataProvider.getList());
selectedProductsGrid.addColumnSortHandler(sortHandler);
// Create a Pager to control the table.
SimplePager.Resources pagerResources = GWT.create(SimplePager.Resources.class);
selectedProductsPager = new SimplePager(TextLocation.CENTER, pagerResources, false, 0, true);
selectedProductsPager.setDisplay(selectedProductsGrid);
// Add a selection model so we can select cells.
final SelectionModel<ProductSummaryDTO> selectionModel = new MultiSelectionModel<ProductSummaryDTO>(this.SELECTED_PRODUCTS_KEY_PROVIDER);
selectedProductsGrid.setSelectionModel(selectionModel, DefaultSelectionEventManager.<ProductSummaryDTO> createCheckboxManager());