Group: Forum Members
Posts: 524,
Visits: 30K
|
I have a column in a listview ( not a Stratalistview ) that may not be relevant depending on how I pull the data. If not, I would like to set its width to 0.
I thought I could say
this.lvCompare.Columns["colMyCol"].Width = 0;
but it tells me it is not set to an instance of an object. I tried it after the requery but no luck
In debugger I see no properties exposed at all on the columns collection.
What's the trick.? Anyone have an example of how to do this?
( remember, traditional SF listview,not Stratalistview )
TIA
|