But I've seen that my example is only working if you add the columns to the reconfigure.
So instead of panel.reconfigure(store);
you need to write panel.reconfigure(store, myColumns);
in both handler functions.