Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Display Search Form when activating the Page
Display Search Form when activating the Page [message #1804555] Thu, 28 March 2019 17:16 Go to next message
Michel R is currently offline Michel RFriend
Messages: 27
Registered: April 2015
Junior Member
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 07:30 Go to previous messageGo to next message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 114
Registered: November 2010
Senior Member
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 20:02 Go to previous message
Michel R is currently offline Michel RFriend
Messages: 27
Registered: April 2015
Junior Member
Sorry for the long delay, thank you very much, it works !
Previous Topic:create permission
Next Topic:TreeBox
Goto Forum:
  


Current Time: Sun Dec 08 23:22:04 GMT 2019

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

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

Back to the top