WebMarkupContainer rowComponent) {
target.addComponent(feedback);
}
});
columns.add(new AbstractColumn("move", new ResourceModel("move")) {
@Override
public Component newCell(WebMarkupContainer parent, String componentId, IModel rowModel) {
final AbstractColumn column = this;
return new MovePanel(componentId, rowModel) {
@Override
protected DataGrid getGrid() {
return (DataGrid) column.getGrid();
}
};
}
}.setInitialSize(5).setSizeUnit(SizeUnit.EM).setResizable(false));