Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Sort and preselect in SmartFields
Sort and preselect in SmartFields [message #1269232] Tue, 11 March 2014 11:11 Go to next message
Eclipse UserFriend
Hello,

I was wondering, if it is possible to change the sorting mechanism and preselect values in a smartfield.
In my case the smartfield contains dates, which should be sorted from the latest to the oldest date. In addition the newest date should be preselected.

Thanks for your help.
Re: Sort and preselect in SmartFields [message #1269728 is a reply to message #1269232] Wed, 12 March 2014 02:05 Go to previous message
Eclipse UserFriend
Have you tried using the "order by" clause in the SQL query with which you select the entries to populate the smart field? If that doesn't work you could store the result of the query in a sorted set before creating the LookupRow[] in LookupService.getDataByAll() and getDataByText().
Previous Topic:Questions concering SQL Service
Next Topic:SWT Rendering inner Group Box on a Custom Field
Goto Forum:
  


Current Time: Tue Jul 08 09:08:45 EDT 2025

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

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

Back to the top