2/21/2025 5:00:56 AM
|
|
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!
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
|
|
|
|
Sortable Queries? 
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. |
|
|
|
Re: Sortable Queries? 
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
|
|
|
|
Re: Sortable Queries? 
Posted: 24 Aug 06 10:48 AM
|
fiogf49gjkf0d Thanks Jeff
it was the ONBEFORECOLSORT markup, I missed it when I was comparing the queries. |
|
|
|
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!
|
|
|
|
|
|
|
|