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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] maintain update grid with dropdown choices?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] maintain update grid with dropdown choices?
 Login/Join
 
Gold member
posted
I've been experimenting with using an update grid on my form because I'd like the user to be able to update multiple rows at a time, but I'd also like to restict what input can be used in specific collumns. So for instance, I have 4 collumns that would be updated:
Description - free text but a required field
Comment - free text but not required
Status - combobox choice of OK, WARNING, DOWN, UNKNOWN
Active - 0 or 1, ideally I'd like to use a checkbox

Is there any way for me to imbed form controls within an update grid or an html table on my form so that the controls can be used to update multiple records at once, rather than the user just typing free text?

This message has been edited. Last edited by: jjoyce,


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF
 
Posts: 61 | Registered: April 16, 2009Report This Post
Platinum Member
posted Hide Post
Check out this FP post and the link:

http://forums.informationbuild...=879102113#879102113


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
 
Posts: 165 | Location: Detroit Metro | Registered: September 17, 2003Report This Post
Master
posted Hide Post
As Dave points out, you can enhance the Grid with a drop down box. If you would like I can send you the presentation that you were pointed to. The code to add a check box looks like:

Form1.Grid1.GetCell(0,0);
Form1.Grid1.CellSetCellType(2);
Form1.Grid1.CellSetCellTypeEx(4096);
Form1.Grid1.SetCell(0,0);

You should be able to encorporate it just like the drop down boxes.

Please note that in release 7.7 we are introducing a JavaScript version of the grid, and that will allow you to use HTML code to add items like lists and checkboxes to the gird cells.

If you would like me to send you the presentation, e-mail me at Mark_Derwin@ibi.com and let me know if you have any questions.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Gold member
posted Hide Post
Great! I had become convinced it wasn't possible but it seems like it would be a common enough solution. I was able to get the presentation from the link so hopefully I should be all set.

I'd mark this "solved" but I really don't know how to change the title...

thanks!
Jen


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF
 
Posts: 61 | Registered: April 16, 2009Report This Post
Virtuoso
posted Hide Post
Jen, you just need to go to your very first post in this thread and edit it. That will give you the option to also change the title.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     [SOLVED] maintain update grid with dropdown choices?

Copyright © 1996-2020 Information Builders