I have an 8-column grid bound to a database. If the value of a particular field is empty, I want to hide the relevant column (so field1 is empty, hide column1)
I tried:
WITH thisform.grid.columnx
.width=0
.movable=.F.
.resizable=.F.
ENDWITH
but it still puts a line in for the seperator. If I hide 2 or 3 columns in a row (like I would normally be doing), then I get this big thick black line, which just looks like I'm trying to hide something (which I am, but I'd prefer the user knows nothing about it).
I tried removing grid lines for cell seperators, but it just replaces the thick black line with a thich grey one (!). Is there anyway I can totally 'remove' the column? Note, I don't want to really remove it, since depending on the contents, if I select a different master record, I may want to bring them back.
I tried:
WITH thisform.grid.columnx
.width=0
.movable=.F.
.resizable=.F.
ENDWITH
but it still puts a line in for the seperator. If I hide 2 or 3 columns in a row (like I would normally be doing), then I get this big thick black line, which just looks like I'm trying to hide something (which I am, but I'd prefer the user knows nothing about it).
I tried removing grid lines for cell seperators, but it just replaces the thick black line with a thich grey one (!). Is there anyway I can totally 'remove' the column? Note, I don't want to really remove it, since depending on the contents, if I select a different master record, I may want to bring them back.