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.
Hi, I am using webfocus 769 version to generate my tabular report. I want to freeze the heading, so that when the user scroll down to see data, the heading will remain visible. I am able to accomplish this in HTML format, but not in HTMTABLE. Is there any option I can accomplish this in HTMTABLE.
-* HTML Tool
-* Created by Report Assistant
-* FF Line do not change this line! Field Name
-* FF Line do not change this line! Alias
-* FF Line do not change this line! Format
-* FF Line do not change this line! Segment
-* FF Line do not change this line! displayTree=0
TABLE FILE GGSALES
PRINT
GGSALES.SALES01.CATEGORY
GGSALES.SALES01.CITY
GGSALES.SALES01.DATE
GGSALES.SALES01.PRODUCT
GGSALES.SALES01.REGION
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
HFREEZE = ON,
$
ENDSTYLE
ON TABLE HOLD AS H1 FORMAT HTMTABLE
ON TABLE NOTOTAL
END
-HTMLFORM BEGIN
< !--OMNI_WF_RETURN_CODE:0 -->
<table cellspacing="0" cellpadding="0" border="0" width="100%" >
<tr >
<td>
<hr class="wferrchartline" / >
</td>
</tr>
<tr>
<td>
< !-- WEBFOCUS TABLE H1>
</td>
</tr>
</table>
-HTMLFORM END
-* End Report Assistant
This message has been edited. Last edited by: Kerry,
Use APP HOLD and check the saved H1 file. To freeze Headers, it should be enclosed within frame tags. If not then use two different HTMTABLEs. One for Header and the other for data.
yes it is...now I see it is not the same person, but sometimes I get the idea that there is a kind of competition running, where several people want to find out the same solution. If it is, I think it also is a wast of time for this forum We all want to help you, but if it is a game, we should get the benefit for it also....
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
You could try this and see if it works in your environment. HFREEZE seems to work with HTMTABLE at least as far as producing a scrollable report. But the problem I encounter is that the column titles do not align with the data columns. However, by adding a few lines to the HTMLFORM, stolen from the working HTML version, I was able to get the column titles to align correctly. Specifically, I found that a couple of JavaScript statements and an ONLOAD parameter in the BODY tag were required to produce the desired results.
TABLE FILE CAR
PRINT BODYTYPE AS 'Body,Type'
BY COUNTRY AS 'Country'
BY CAR AS 'Car'
BY MODEL AS 'Model'
ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE NOTOTAL
-* ON TABLE PCHOLD FORMAT HTML
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, HFREEZE=ON, $
ENDSTYLE
END
-*
-RUN
-HTMLFORM BEGIN
<HTML>
<script language='javascript'>
var ibiOptions = new Array("hfreeze");
</script>
<script language='javascript' src='/ibi_html/javaassist/ibi/html/js/ibigbl.js'></script>
<BODY ONLOAD='ibigblOnLoad();'>
!IBI.FIL.HOLD;
</BODY>
</HTML>
-HTMLFORM END
This message has been edited. Last edited by: Dan Satchell,
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Dan, you are quite correct that by including the required javascript into the HTML it will deliver the output in the same way as several other features that use generated scripts for control.
However it is unsupported funtionality so do not expect IB support to resolve any issues.