Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Maintain : Update cell /Grid with one Click

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Maintain : Update cell /Grid with one Click
 Login/Join
 
Platinum Member
posted
Hi,

If the user clicks on a cell in a grid to update it , he needs to double click on it to go in to edit mode , is there a way to change that into a single click?

Any Ideas???

Peter


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Master
posted Hide Post
No problem - Use the JavaScript command:
Form1.Grid1.StartEdit();
There Form1 is my formname and Grid1 is the gridname.

You can put the command on the FOCUS trigger.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Platinum Member
posted Hide Post
Hi Mark

Yup , that does the trick , but i have another trigger on that grid that gives the current line a different background color , and it seems that this delays the startedit()....and thus still makes you double-click before it goes in enter mode

Does this make sense?

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Platinum Member
posted Hide Post
I've been able to solve this issue by putting a startedit() at the end of the other event

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Gold member
posted Hide Post
Whenever I code this into my Maintain for my Grid Object, I receive the err:


(FOC03611) STARTEDIT is not a method in type IWCCONTROLAXGRID.

I have tried other functions with my grid including SETCURSOR and SETSCROLL and I receive the above error message.

What do i need to do?


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
 
Posts: 61 | Location: St Louis | Registered: May 15, 2003Report This Post
Master
posted Hide Post
Brad -
It's one of two things. First, this is a JavaScript command. Make sure you have clicked the JS on the top of the events page when you place this code in the trigger.

If not that, make sure that the Form name and grid name are correct and in the exact case. Javascript is VERY case sensative.

Form1.Grid1.StartEdit();

If none of that fixes the problem, I'll see you Sunday!!

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Maintain : Update cell /Grid with one Click

Copyright © 1996-2020 Information Builders