Welcome!

This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!

4

1

In the Menu List you have a field where you can edit how many lines you want to show:




0
Carlos Nogueira
Ligar 22/04/20, 09:30

Hi Alice, 

Short answer to your question: In that menu list, set the number of records to -1. That will solve your problem in that case.

Long answer and explanation:

By default, the number of records (in all lists) is set to 0. Value 0 means that it will follow the general configuration of the application, which is by default set to 15 elements, through the variable defaultDBeditRows present in Configuracoes.xml file.
Configuracoes.xml file is written and mantained by WebAdmin solution (but this is not an available option, it must be set mannually, opening the file and changing this variable).

If you set anything that differs 0, it will not follow general configuration and will use that value to the number of records per page, yet, there is a special value that will not page and retrieve all records, and that value is -1.

Besides everything you do, while modelling, you should consider the performance downfall in your model when listing objects without any limit. By absurd, imagine how would your system react if you model a menu list of "Persons" without any limit, with a dozen columns from a table with the entire world population, and even worse, order it by date of birth... it would be a mess.

So, use it wisely.


Regards,




0
Álvaro Damas
Ligar 19/12/19, 14:24

Attention: There are performance issues if you set very high record limits to be seen. Normally you should not touch the default values.



0
Tiago Xavier
Ligar 18/12/19, 17:45

Hi,

You can go to configuracoes.xml file near of your project and will find one attribute with name <defaultDBeditRows>.

Here you can change to value do you want for all of your lists in system.


Keep Informed

About the Community

This platform is for beginners and experts willing to share their Genio knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers. Read Guidelines

Question tools

14 follower(s)

Stats

Asked: 18/12/19, 17:39
Seen: 1921 times
Last updated: 22/04/20, 09:30