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, Is it possible to embed an image next to a column title? The idea is to have an image ( arrow pointing upwards) next to all columns which can be sorted. clicking on the image will sort the column by ascending or descending and the image direction will also change !!! Any pointers on how to do this ???
Regards, Kalyan.This message has been edited. Last edited by: FP Mod Chuck,
sure your AS phrase, which puts a nice title on your column, can contain an image tag BY MODEL AS 'my model' ..would become BY MODEL AS '<IMG SRC="http://yourserver/images/uparrow.gif"> click here'
That gets the image in, now you'll have to keep track of your sorting. so your columntitle will have a drilldown, and your as phrase can be an &VAR and you set your &VAR to be the UP arrow to begin, and you create a second &VAR which is the opposite of what your current &VAR is set to, so if your &var is up then &varother is down. and then your drilldown passes thru &varother as the next setting of &var. Clear as mud?
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Originally posted by susannah: [qb] sure your AS phrase, which puts a nice title on your column, can contain an image tag BY MODEL AS 'my model' ..would become BY MODEL AS '<IMG SRC="http://yourserver/images/uparrow.gif"> click here'
That gets the image in, now you'll have to keep track of your sorting. so your columntitle will have a drilldown, and your as phrase can be an &VAR and you set your &VAR to be the UP arrow to begin, and you create a second &VAR which is the opposite of what your current &VAR is set to, so if your &var is up then &varother is down. and then your drilldown passes thru &varother as the next setting of &var. Clear as mud? [/qb]
This sounds good. Where does the image need to reside? I am using 8202M.
I have the following code. I want to be able to see and click on my image. I have both images in my 'Common' application folder in a common domain. Both are accessible from within this fex.
DEFINE FILE CAR
MyImage/A128 = '[IMG]UpSizeArrow.gif[/IMG]' ;
END
TABLE FILE CAR
HEADING
"Click on this image, <MyImage to do something"
SUM
DCOST AS '[IMG]IBFS:/WFC/Repository/Common/Images/UpSizeArrow.jpg[/IMG]D Cost'
RCOST AS '[IMG]IBFS:/WFC/Repository/Common/Images/UpSizeArrow.gif[/IMG]R Cost'
BY COUNTRY
END
Here are the images I am using and the result of my report. If the images do not show up in IE, try it in Chrome. JPG: GIF: Report:
KennethThis message has been edited. Last edited by: KLH,
Welcome to Focal Point... Put the images in 'An Accessible App Folder', Try this:
TABLE FILE ibisamp/car
SUM DCOST RCOST
COMPUTE
Image/A250V=IF DCOST GT 54000 THEN '<img src="/ibi_apps/run/ibfs?IBFS_path=/'An Accessible App Folder'/up_arrow_small_green.png" height=20 width=20>'
ELSE IF DCOST GT 37000 THEN '<img src="/ibi_apps/run/ibfs?IBFS_path=/'An Accessible App Folder'/down_arrow_small_red.png" height=20 width=20>'
ELSE '<img src="/ibi_apps/run/ibfs?IBFS_path=/'An Accessible App Folder'/equal_sign_gray.png" height=20 width=20>' ;
BY COUNTRY
FOOTING
"The relevence of the image is totally irrelevent in relatio to th edata."
ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET GRWIDTH 1
ON TABLE SET AUTOFIT OFF
ON TABLE SET STYLE *
GRID=OFF,$
TYPE=FOOTING, SIZE=9, $
ENDSTYLE
END
Height and Width is only needed to adjust the size as needed if the original size is not appropriate.
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005