0

I am creating an application with Apache Isis and everything is rendered correctly except that rendered tables are showing all properties from my model.

Is there a quick way to allow users to choose which columns they want to show on the table and preferably in which order?

Milos Miskone Sretin
  • 1,748
  • 2
  • 25
  • 46

1 Answers1

0

Yes. It's a bit hacky, but you can provide an implementation of TableColumnOrderService

Dan Haywood
  • 2,215
  • 2
  • 17
  • 23
  • But, isn't that to order and/or hide on the code level. I need something to let users on the UI layer to configure for each table inside application. – Milos Miskone Sretin Feb 24 '19 at 20:17
  • Ah, sorry, didn't read your question carefully enough. I'm afraid the answer to that is "no", not out of the box. You would need create an alternative implementation of the table component. Take a look at CollectionContentsAsAjaxTablePanel and its factory, CollectionContentsAsAjaxTablePanelFactory, for a starting point. Also the docs, http://isis.apache.org/versions/1.16.2/guides/ugvw/ugvw.html#_ugvw_extending_replacing-page-elements – Dan Haywood Feb 25 '19 at 14:01