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.
What are anyone's thoughts on the new JavaScript Grid being ready for 'prime time' ? Is there much, or any, experience with it yet ? What about functionality, limitations, known problems ?
I searched FP for "javascript grid", but nothing concerning the new one came up, through I think I saw something a little while back.
Thanks,This message has been edited. Last edited by: Kerry,
Only used at playtime so far, and it provided (almost) everything I was looking for. Found no real issue and seemed stable. Prime time is going to require someone to use it in anger. Any volunteers?
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Can I chime in?? The main selling point of the JS grid is that it doesn't require an Active-X control so it can be used on other browsers besides IE. One issue that HAS come up is that when you embed HTML Code into the grid cells, something that could not be done in the previous grid, there are some issues on non-IE browsers. Some of its features are:
Click on a cell and enter edit mode: Form.Grid.OneClickEdit(true); // false to turn off Move cursor to a cell in the grid: Form.Grid.SetCellFocus(col, row) ; Dynamically change the protection of a cell Form.Grid.CellSetReadOnly(col, row , true); // false Dyamically set the value of a cell Form1.Grid1.CellSetText() CellGetReadOnly(col, row, editable) CellSetReadOnly(col, row) CellGetText(col, row) CellSetText(col, row, text) GetCurrentColumn() GetCurrentRow() GetCurrentColumn() GetNumberColumns() GetNumberRows() CellSetTextColor(col, row, color) Form1.Grid1.CellSetTextColor(1,1,”rgb(0,0,255)”); CellGetTextColor(col, row) CellSetBackColor(col, row, color) Form1.Grid1.CellSetBackColor(1,1,”rgb(0,0,255)”); CellGetBackColor(col, row) ColumnSetContentType(col, contentType) contentType: 0 – Text 1 – HTML 2 - Image ex. Form1.Grid1.ColumnSetContentType(1,0); CellSetFont(col, row, font) CellSetFontSize(col, row, fontSize) CellSetFontStyle(col, row, style)
We've also added function JSGridOnload. You can use that function to preset the grid before the form is displayed. In 7.702 we added the content type option into the column detail screen, much like it is in the HTMLTable. This makes adding Images and HTML Objects to the cells much easier.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003