Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Display Search Form when activating the Page
Display Search Form when activating the Page [message #1804555] Thu, 28 March 2019 13:16 Go to next message
Eclipse UserFriend
Hello,

The default behaviour of an AbstractPageWithTable with a Search form when activated is to display the table with the search form hidden at the bottom with a slider (I think) and to load the data using probably the default filter provided by the search form.

I would like instead to :
- have the search form visible by default when I display the page
- not load the data till the user will click on the Search button.

How can I do that ?

NB: I am currently using Scout 8.0.

Thank you for your help!
Michel
Re: Display Search Form when activating the Page [message #1804594 is a reply to message #1804555] Fri, 29 March 2019 03:30 Go to previous messageGo to next message
Eclipse UserFriend
Quote:

I would like instead to :
- have the search form visible by default when I display the page
- not load the data till the user will click on the Search button.


Setting getConfiguredSearchRequired() to true on the table page should do the trick.

JavaDoc:
Configures whether table data is automatically loaded (through a search with default constraints) or whetherloading the table data must be triggered explicitly by the user. Set this property to true if you expectlarge amount of data for an unconstrained search.

Regards,
Beat
Re: Display Search Form when activating the Page [message #1807479 is a reply to message #1804594] Thu, 30 May 2019 16:02 Go to previous message
Eclipse UserFriend
Sorry for the long delay, thank you very much, it works !
Previous Topic:create permission
Next Topic:TreeBox
Goto Forum:
  


Current Time: Fri May 16 13:51:19 EDT 2025

Powered by FUDForum. Page generated in 0.03509 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top