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 Flex datagrid with one field called DSP_WEBSITE that contains a url. It displays correctly but I don't know how to make it an active hyperlink to open in a new window to display the url website. I also have the same issue in the ibiInfoWindowColumns.
Any suggestions?
Here is my code now:
ibi:ibiUseColumnsDSP_NAME AS Provider,COUNTRY AS Country,DSP_WEBSITE AS Website,DSP_RATING AS Rating,LATITUDE,LONGITUDEThis message has been edited. Last edited by: LDW,
To Accomplish what you are asking for must currently be done using Action Script. it is a simple 3 step process.
Step 1.) Add an itemClick event to the ibiDataGrid. you can just copy what I have posted below you you ibiDataGrid.
itemClick="itemClickEvent(event)"
Making your ibiDataGrid look somethigng like this.
<ibi:ibiDataGrid x="10" y="10" width="712" height="169" id="MainDG" itemClick="itemClickEvent(event)" ibiUseColumns="DSP_WEBSITE AS WebSite">
Step 2.) Just copy the below code into your application. If you already have a script section in your application then all you need to copy is the import line and the itemClickEvent function.
<mx:Script>
<![CDATA[
import mx.events.ListEvent;
private function itemClickEvent(event:ListEvent):void
{
if(event.rowIndex >= 0)
if(event.columnIndex == 0)
{
var url:URLRequest = new URLRequest(MainDG.prGridfiltered[event.rowIndex].DSP_WEBSITE);
navigateToURL(url,"_blank");
}
}
]]>
</mx:Script>
Step 3.) Just edit the code from step 2 and change the MainDG to the id of your ibiDataGrid.
Give this a try.This message has been edited. Last edited by: TexasStingray,