Controling a ListView - VB.NET

I have a report that can take anywhere from 5-30 minutes to run.  The results are displayed in a listview.  The results are inventory items that either "Pass" or "Fail" a "quantity on hand vs. sales per month" test  (basically, do we have enough widgets in stock based on past sales averages).

Since the results can contain up to 4000 items it would be nice to toggle three displays:
1. All Items that Pass
2. All Items that Fail
3. All Items Regardless

Right now it shows all items, I simply change a subitem in the listview to say Pass or Fail and change the color to red if its a fail.

Is it possible to hide or toggle the results to display like this?

Thanks for your help!!!
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.

Bob LearnedCommented:
I don't understand what you mean by "hide or toggle".  Do you mean changing a sub item dynamically after the ListView item is created?
slightlyoffAuthor Commented:
Sorry for being confusing...

Imagine having a listview of 4000 items (or products).
Each item falls into 1 of 3 categories:  

1. Not Enough on Hand  
2. Enough on Hand
3. More than Enough on Hand (as in, we'll never sell them all...)

So I'm looking at the list of 4000 items and I decide I just want to see items in category #1.

Can I hide items in category 2 and 3 without clearing and refilling the listview?

I hope that clears it up a little bit.  Thanks for your response!!!
Bob LearnedCommented: can hide groups, but I don't believe that ListViewItem supports hiding.  

One possibility might be using a custom ListView that supports data binding, and binding the ListView to a filtered DataView.

A Much Easier to Use ListView

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
slightlyoffAuthor Commented:
Thanks for your help!  I've had to move on from the project, sorry it took me so long to respond
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
Visual Basic.NET

From novice to tech pro — start learning today.