public Canvas getViewPanel() {

    TileGrid tileGrid = new TileGrid();
    tileGrid.setTileWidth(194);
    tileGrid.setTileHeight(165);
    tileGrid.setHeight(400);
    tileGrid.setWidth100();
    tileGrid.setCanReorderTiles(true);
    tileGrid.setShowAllRecords(true);
    tileGrid.setData(CarData.getRecords());

    DetailViewerField pictureField = new DetailViewerField("picture");
    pictureField.setType("image");
    pictureField.setImageURLPrefix("cars/");
    pictureField.setImageWidth(186);
    pictureField.setImageHeight(120);

    DetailViewerField nameField = new DetailViewerField("name");
    DetailViewerField priceField = new DetailViewerField("price");

    tileGrid.setFields(pictureField, nameField, priceField);

    return tileGrid;
  }
 @Override
 public void setCanDrag(boolean drag) {
   super.setCanDrag(drag);
   setCanDragTilesOut(drag);
 }