Table with many columns : need for scrollable drop-down menu

We have a lot of entities with more then 50 columns (due to a legacy system).

If the user want to configure (as described for columnControlVisible) the shown columns by the existing drop-down menu in the table header then the menu is to long for current web view.

  1. Is it possible to implement an scrollable drop-down menu? May in future release of cuba implementations you can resolve it?

  2. For the time in between it there any chance to overwrite the implementation? Could you please explain how.


1 Like


Thank you for reporting the problem. We have created a YouTrack issue

At the moment you can use the following CSS as a workaround:

.v-table-column-selector-popup .gwt-MenuBar {
  overflow-y: auto;

In this case column control menu will have vertical scrollbar if there is no enough vertical space in a view port.

As for question 2, yes it is possible if you replace all the classes WebTable, CubaTable, CubaTableConnector and CubaScrollTableWidget with your own classes that will inherit our implementations. It is not so simple process, so I would recommend that you do not go this way if you can use any another option.

1 Like

Thank you very much!

I put your recommend scss overwrite into halo-ext.scss and it’s working fine.

:ticket: See the following issue in our bug tracker: