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, If I use a Maintain function to handle the ClickLink event in an HTML Table, then we can use special syntax in your function to determine what part of the HTML table the end user clicked. If you want to determine the row number, use: formname.tablename.ClickRow
So, do we have this kind of feature in Grid? I want to fetch row number clicked on Grid in maintain function based on which I will extract value of a Grid column for that row and store it in variable to use it further in my SQL query in another maintain function.Please suggest a way to handle this.
Thanks.This message has been edited. Last edited by: Kerry,
Most of the events pass the row and column into the function automatically. These include OnRClicked and OnLClicked as well as OnEditStart / OnEditFinish. If the function takes col and row on the function line, you can use them in your own JS code.
If there IS an event that doesn't give you the the Row and Col you should be able to use:
var currow = Formname.Gridname.GetCurrentRow;
Here currow is the name of your valiable, Formname is the name of your form and Gridname is the name of your grid.
For column try: var curcol = Formname.Gridname.GetCurrentColumn;
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003
Hi, The problem is that on any event i can find the row and column value clicked but if i want to retain that value so that i can use it on some other event on other screen. Is there any way to capture and hold it in variable? What i was thinking like i will hold the value in invisible Editbox and extract the value from it.But how will i extract the value in Editbox in a maintain variable? Is there any way to handle this?Please suggest.