How to edit 'Show rows' numbers and options

I want to change the numbers available in the show rows button, either to add / default to an option for show all or to remove the button entirely so that each result is shown each time.

Defaulting to fifty is causing trouble for users who want to be able to scroll through the whole set each time.

Hi,

Add the useMaxResults=“false” to your filter to prevent pagination. You can find more information in the documentation.

Regards,
Gleb

1 Like

Hi,

Also, you can set “cuba.gui.genericFilterMaxResultsOptions” property to database or to your web-app.properties file. By default it has value:


cuba.gui.genericFilterMaxResultsOptions = NULL, 20, 50, 100, 500, 1000, 5000

Defines the options for the Show rows drop-down list of the Filter component. NULL option indicates that the list should contain an empty value.

Stored in the database.

1 Like

Great, thank you both! Implemented Gleb’s answer right away as a quick fix and will probably use Yuiry’s in the future for customization.