Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     HTML sorting dropdown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
HTML sorting dropdown
 Login/Join
 
Gold member
posted
I want a report where there is an arrow on each column such that on clicking the arrow the sorting of the column can be changed.This means on clicking on the column for the first time if it is sorted in ascending order the next click should sort the same in descending order and so on. Can somebody please help me with this... I am working on version 7.1.4 and i want the output in HTML. Also without using OLAP.
 
Posts: 77 | Registered: December 22, 2004Report This Post
Master
posted Hide Post
Put a drill down on your title that passes the sort order and column name as two of its arguments.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Gold member
posted Hide Post
Act it is required that the arrow points down while sorting is done in the ascending order and the arrow should point up while in the descending order. Can that also be achieved?
 
Posts: 77 | Registered: December 22, 2004Report This Post
Master
posted Hide Post
Yes, adding the image also possible.

Check for the direction(ascending or descending) in your define statement and change the image based on that.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Member
posted Hide Post
Not exactly what you asked for but something you might consider is using the drillmenuitem stylesheet feature with options of "sort ascending by xxx" and "sort descending by xxx". You could also add "hide column xxx".
When using drillmenuitem features I always like to provide an alternate way (via a menu option) for the user to change the sorting just in case the user's browser does not render the drillmenuitems properly (I've had trouble getting firefox and drillmenuitems to play nice)
Also, regardless of browser considerations, if you do offer a "hide" feature then you should provide a way to "unhide" via a menu option.

Just a thought. This technique has served me well.
 
Posts: 15 | Registered: October 27, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     HTML sorting dropdown

Copyright © 1996-2020 Information Builders