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.
Add the useMaxResults=“false” to your filter to prevent pagination. You can find more information in the documentation.
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.
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.
Is there any option to set ALL here:
something like below:
cuba.gui.genericFilterMaxResultsOptions = ALL ?
Is there any option to display all the rows as default?