Focal Point
[CLOSED] Hiding column in Read/Write Data Grid

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9467039906

September 19, 2011, 07:32 AM
Shankar
[CLOSED] Hiding column in Read/Write Data Grid
Hi,
How Can I hide a particular column in Read/Write Data Grid in maintain ? Is there any function available for this? Suppose I have grid 'Grid1' and I want to hide column no.10 when screen is shown on screen.Please suggest.

Thanks

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


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
September 19, 2011, 09:19 AM
Maintain Wizard
This is not something that we are able to do. The ONLY thing that I can suggest is having 2 grids, one with the column and one without. Then, toggle them with WINFORM SET commands.

Mark
September 19, 2011, 05:42 PM
Waz
There is a chance that you could set the colums width to 0. SetColWidth


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 21, 2011, 12:24 PM
HÃ¥kan
You can either do it like this:

Form1.Grid1.SetColWidth(1, 0);
Form1.Grid1.RedrawCell(1, -1);

Which will hide the column

or

set the column to read-only and perhaps the text colour to the same as the background colour.


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)