• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

List View


HI


Does anyone know how can i hide a column in listView control, and not by
setting the width property to -> 0.

Or mabye set width property to -> 0 but lock the column headers for resize.

Thanks

 
0
yanivnachumi
Asked:
yanivnachumi
1 Solution
 
Richie_SimonettiIT OperationsCommented:
i think that if you set width to 0, column dissapears.
ListView1.ColumnHeaders(1).Width = 0
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Set the column width to zero, and disable the "Allow Column Reorder" option from the General tab in Property Pages, and set "Enabled" to false if you're using the listview only for display.

Mayank.
0
 
CleanupPingCommented:
yanivnachumi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
0
 
DanRollinsCommented:
Moderator, my recommended disposition is:

    Accept mayankeagle's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Thank you.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now