How can I hide a specific column in a virtual row tree?
1 answer
To hide a column, exclude coVisible from the TVTColumnOption enumeration, for example
if coVisible in VST.Header.Columns[3].Options then
VST.Header.Columns[3].Options := VST.Header.Columns[3].Options - [coVisible];
The TVirtualTreeColumn class has a MinWidth property that will overlap any column width less than MinWidth. I am currently not in a position to test this, but I don't think MinWidth will even accept a negative integer value.
+12
source to share