Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


ListView SubItem Selection

ListView SubItem Selection

ListView SubItem Selection


I have a listview that has 3 columns : date , trainer 1 and trainer 2. The grid is populated with a date always in the caption and then maybe some text in trainer 1 or trainer 2 sub item fields.

Suppose I have a grid that looks like :
Date Trainer 1 Trainer 2
05/08/2013 Lee Smith John Smith
06/08/2013 Lee Smith Trevor Smith

So here we have 2 data rows , I know that if I click on the first data row I can have Listview->Selected return me which row is selected. I want to be able to click on Lee Smith in row 1 and know that I have selected the first Sub Item as well as row 1, i.e. Row 1 Column 2 . How do I do that ? I can't see an event that tells me anything about which Column I am selecting/clicking. Obviously the columnclick event is for the column title whereas I want to click an actual cell.

Any help appreciated , thanks



Hope this helps!



RE: ListView SubItem Selection

I've seen a cell[x][y] component somewhere but I don't remember where. I'll look for it when I get a chance.

James P. Cottingham
I'm number 1,229!
I'm number 1,229!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close