@Override
protected void configureTable() {
super.configureTable();
getListGrid().addFieldStateChangedHandler(new FieldStateChangedHandler() {
public void onFieldStateChanged(FieldStateChangedEvent fieldStateChangedEvent) {
String state = getListGrid().getViewState();
portletWindow.getStoredPortlet().getConfiguration().put(new PropertySimple(CFG_TABLE_PREFS, state));
portletWindow.save();