This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 8, 2012, 1:23 PM
51 Posts

autom sorting view after search

  • Category: Other
  • Platform: Not Applicable
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 2

I have a view on which I performed a full text query. 
The first column of this view is sortable , which works nice since notes 8.5.3 
 
The sorting is done after clicking on the header.
Is there a way to sort (as if clicked on the header) on page load , since without clicking it isn't sorted at all ? 
May 8, 2012, 8:02 PM
17 Posts
Re: autom sorting view after search
Hi Marc,
 
FTSearchSorted method of NotesView should work for you.
 
Regards,
Patrik
May 9, 2012, 11:50 AM
51 Posts
Re: autom sorting view after search
 Sorry, I wasn't clear probably;
I have a viewPanel , in which I search some items with the "search in view results".  (with scoped variables)
The first column in this result is sortable (only ascending) . 
Isn't there an easy way to sort it ascending as default ? Now , the user has to click on the first column header to sort it.(after the page loaded)
Or is there an easy way to sort it with the "afterpageload" event ? 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal