Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2006

Tip: Looking for answers? Try searching our database.

How do I show/hide columns in ListView?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MrNobody - 31 Oct 2006 19:09 GMT
what's the trick in showing/hiding columns in ListView's Details view mode?

I can change a columns width to 0 and it effectively makes it disappear but
then you can actually resize the column to bring it back into view.

Is there any way to disable resizing for just that one column?

Any other way to do this?
Basil Abusamrah - 31 Oct 2006 19:29 GMT
MrNobody,

I don't believe there's any other way to hide a column in a listview
control. What you could do, however, is grab the resize events of that
column and keep the width at zero.

Basil

> what's the trick in showing/hiding columns in ListView's Details view mode?
>
[quoted text clipped - 4 lines]
>
> Any other way to do this?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.