Mendix Tab Control & Application Performance

1
Hi, When using tab controls is it advisable to limit the amount of data presented on each of the tabs for performance reasons. I presume the data is gathered onloading the script for all of the tabs? I could potentially have a lot of data on each of the tab control datagrids, should I still use a tab control in these circumstances? Thanks for any help!
asked
1 answers
4

For performance reasons, data on tab pages is not loaded until the tab page is made visible. So you do not have to worry about "heavy" tab controls with lots of tab pages.

There are some exceptions to this rule. For example, if the contents of a tab page contain validation (e.g., required validation on widgets) or conditional formatting, those contents are loaded initially. This is to ensure the correct behavior of the application.

The 'Refresh on show' property just indicates whether the contents of a tab page should be reloaded if you make the tab page visible again. It defaults to true, because that always yields correct behavior. Only set it to false if you know what you're doing.

answered