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     [CLOSED] Coloring cells of Read/Write Grid in maintain

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Coloring cells of Read/Write Grid in maintain
 Login/Join
 
Guru
posted
Hi,
I have a requirement in Maintain where I have to color the cells of a Read/Write Grid based on the value of a column.Suppose using CAR datasource,Iam dispalying COuntry,Car and Model in a Read/Write grid.I want one more column in the Grid which will have their cells colored based on the value of BODYTYPE.Ex: If the BODYTYPE is CONVERTIBLE, then the color of cell would be green,if it is SEDAN the color would be Red and so on.How can i handle this in maintain? Please suggest.

Thanks in Advance.

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


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Master
posted Hide Post
There are two grid controls in 7.7. I hope that you are using the grid with the JS logo. That is more versatile than the Active-X grid as the JS grid can work on browsers other than ie. In the JS Grid you can use JS commands to manipulate the display.

The following statement to change the color of the cell:
CellSetBackColor(col, row, color)
Form1.Grid1.CellSetBackColor(1,1,”rgb(0,0,255)”);

You can check the value of a cell by using this statement:
CellGetText(col, row)

Once you have the value, you can issue the commands to set the color of the cells.

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     [CLOSED] Coloring cells of Read/Write Grid in maintain

Copyright © 1996-2020 Information Builders