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.
I have a graph displayed above a detail table and have hyperlinks on the table column titles that will resort the data based. The table is displayed about 2/3 way down the screen. When I click the column titles, the screen refreshed to display graph and the sorted data but the form is reset to the top. Is there anyway to return to the position that the form was in before I clicked on the hyperlink. As it stands now, the user has to scroll down everytime they resort the data.
There are many different ways, have you tried using a window.scrollTo or window.scrollBy in the onLoad event of the body? If you are using HTML frames, you might have to change the syntax slightly.
window.scrollTo(x,y) -- Used to scroll to a specified location
window.scrollBy(h,v) -- Used to scroll the screen by a given number of pixels.
Not exactly sure how you are generating your HTML code, but you can put the following code before the </BODY> tag (with <SCRIPT> and </SCRIPT> tags around it) or create an external JavaScript (js) file named whatever you want and put the following code in it:
var OrigOnLoad = document.body.onload;
document.body.onload = ScrollFx;
function ScrollFx()
{
if (OrigOnLoad) OrigOnLoad ();
window.scrollTo(0,300);
}
You will have to adjust the values in the scrollTo to fit your needs.
Norb, your drilldown is regenerating the entire page, graph and all, yes? if so, you're getting exactly what you're asking for. Can you put the elements side by side? Table left, graphic right. That way, the user keeps on the table when clicking. You know how to do side by side, yes?
-HTMLFORM BEGIN
<TABLE>
<TR>
<TD VALIGN=TOP>
!IBI.FIL.MYTAB;
</TD><TD VALIGN=TOP>
!IBI.FIL.MYGRAF;
</TD></TR>
</TABLE>
-HTMLFORM END
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Is your output format HTML? If so then place the two components in separate IFRAMEs so that when you refresh the data component to sort it, you only update the second IFRAME. Simple to do without having to resort to Javascript etc. which is still new to you.
As a reminder, the TARGET value on your drilldown would need to be the IFRAME name attribute.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
i was thinking that, too, T, but wondering if the graf was related to the data in the table, then when the table changed, the graf should as well. Sounds like a perfect spot for wf's new flex feature.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Yep, my drilldown is regenerating the entire page using the technique that you detailed in your post. I did try putting the data side by side but didn't think it looked to good. Not quite sure where I'll go from here. I'll check out Tony's ideas about the separate iFrame as well. (iFrame reminds me of iPhone but I won't start that again - hee hee)
Start that subject off and it'll be your round at Summit - and I'm looking at the most expensive cocktail, reputed to be $1500 - called the Duvet Platinum Passion in New York, or maybe the Mai Tai in Northern Ireland.
Perhaps Gerry will have these at the cocktail reception? Then again maybe not
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004