Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, June 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Sortable Queries?
Steve Margeson
Posts: 38
 
Sortable Queries? Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Aug 06 6:45 AM
fiogf49gjkf0d
I have a Query added to a custom template but for some reason when I tyr and sort the records by one of the column headings it doesn't resort the query. Any Ideas on what step I may have missed? I looked at the query properties and the template and compared it to the default conlist query and there is not really any difference.
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Sortable Queries? Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Aug 06 10:20 AM
fiogf49gjkf0d
Steve,

On the query properties on the layout tab, do you have the markup/value pair

markup=ONBEFORECOLSORT value="resort()"

It should exist on conlist, but want to make sure you didn't miss one. That's usually the most common reason columns don't sort.

Also, on your template do you have this reference at the top?
<script language="Javascript" src="<#SYS name=htmlpath>/jscript/mainlib.js"></script>

I suspect you'd be getting a javascript error if you didn't, but you do need that reference.

If you have those, is the column you're sorting on an HTML alias? If so, make sure you've selected the sort path.

If those aren't working, I'm not sure what else to check.

Jeff



[Reply][Quote]
Steve Margeson
Posts: 38
 
Re: Sortable Queries? Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Aug 06 10:48 AM
fiogf49gjkf0d
Thanks Jeff

it was the ONBEFORECOLSORT markup, I missed it when I was comparing the queries.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/25/2024 9:40:00 PM