PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Hide a Column in a Table in a Report
Hide a Column in a Table in a Report
Iniciado por guest, 07,mar. 2016 11:06 - 4 respuestas
Publicado el 07,marzo 2016 - 11:06
Hi,
I have a report that includes a table.
This table comes from a table from a Windev20 window.

I can't seem to find a way to HIDE columns in the table (in the Report)

Any Ideas?

Steven Sitas
Publicado el 07,marzo 2016 - 11:38
Hi,

I think it is just setting your item..visible = false (and the column title label)

Regards,
Bart
Miembro registrado
102 mensajes
Publicado el 07,marzo 2016 - 12:12
Steven,

not shure, just a guess, how about

ITEM_youritem..width = 0


--
http://arnoldconsult.de
WinDev 20 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Publicado el 07,marzo 2016 - 13:03
Hi Bart,
item..visible = false doesn't seem to work ...
It doesn't handle the x position of the next column printed.

It just leaves the columns EMPTY in the report ...

Steven Sitas
Publicado el 07,marzo 2016 - 16:41
The way I did it was by first hiding or deleting the 2 controls for that column. Then I changed the the X position and width of a few columns.

I couldn't figure out an easier way to do it. I haven't used report anchoring yet, and when I tried it kept changing my landscape report to portrait with columns cut off.