Listview ?

Can I have a Listview with some rows having 6 columns and other rows having 5 columns?
szx248Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
>Can I have a Listview with some rows having 6 columns and other rows having 5 columns?
not really, but you can have some rows with some columns being empty.
0
szx248Author Commented:
Is there any other Listviews (third party or whatever) that I can get that does thave this feature?
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
not that I know of. you might possibly have rather 2 listviews instead of one.
maybe describe the context of what you are trying to do...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

szx248Author Commented:
Here is what I’m trying to do. I have some records that I want to display. Some of the fields are only for view, others are for entry as well. Two of these columns that will have entry are Cases and Pieces. Also I want to have a Dropdown as one of the columns that allows for these options: “Cases and Pieces”, “Cases”, “Pieces”. When “Cases and Pieces” is selected then I want the user to have both the “Cases” and “Pieces” columns accessible for entry, otherwise only one of them.

0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
do you already use a grid/listview that supports comboboxes?
anyhow, you should be able to specify on a per row bases where you have the combo box or not.

I would have the 2 columns for cases and pieces, and depending on the option set, have the combobox in either or both cells.
0
szx248Author Commented:
I don't allready use a Listview. And I need to also know, as you hinted, if I can stick a combo box in a column.
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>I don't allready use a Listview.
what programming language? what version?
what budget eventually?
0
szx248Author Commented:
going to be using vb 2005

budget? not sure, would like to know what the options are and decide accordingly
0
gangwischCommented:
yes you can under subitems of the listviewitem you dont need to assign a value to the 6th column just leave it blank

listview1.items(0).subitems(5).text=""
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.