igor.vaynberg wrote: > > you need to call replace(userstable) so that your new instance gets > put into the component hierarchy. >
Thank you Igor, I've solved. I post the relevant part of the code that do the trick: add(new AjaxFallbackLink("users_shuffle") { @Override public void onClick(AjaxRequestTarget target) { Collections.shuffle(userColumns); usersTable = new AjaxFallbackDefaultDataTable("users_table", userColumns, userProvider, 20); getParent().replace(usersTable); if (target != null) { target.addComponent(usersTable); } } }); -- View this message in context: http://www.nabble.com/datatable-columns-shuffle-tp23199789p23213845.html Sent from the Wicket - User mailing list archive at Nabble.com.