rawData.add(i);
data.add(new Row(i, i));
}
TableProperties props = TableProperties.getInstance(null);
SmartListHelper helper = new SmartListHelper(data, data.size(), 10, props, false);
helper.setCurrentPage(1);
List fullList = helper.getListForCurrentPage();
TableModel model = new TableModel(props, "", null);
model.setRowListPage(fullList);
model.setPageOffset(helper.getFirstIndexForCurrentPage());
MultilevelTotalTableDecorator decorator = new MultilevelTotalTableDecorator();
decorator.init(null, rawData, model);
model.setTableDecorator(decorator);