[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3188
  • Last Modified:

Add checkbox to ListView 2nd & 3rd Columns

Hi there,
I have be trying to get a listview component to allow me to create the follwing.

Column 1 : Text (eg name)
Column 2 : Checkbox
Column 3 : Checkbox

Then I would fill each column with rows dynamically with checked and uncheck values for each corresponding name which the user can then change (checkboxes that is). Anyway I have manages to put a check box in the first column which is wrong, but cant seem to find a way to format the last two as checkboxes as which is really what I need. There are many tutorials on adding text and sort the listview component but I can't find anything that show me how to do the above or anything like it. Does any one know a good tutorial or have any suggestions.

Cheers in advance,
Williery
0
williery10
Asked:
williery10
1 Solution
 
JR2003Commented:
I think with TrueDBGrid you can do this.
0
 
DarkoLordCommented:
I think SGrid 2 from vbAccelerator can also do it:

http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/index.asp

Darko
0
 
RichardCorrieCommented:
The simple answer, inferred from previous answers, is that the standard MS List box will not allow you to do this.  You could use the Gris control as a pseudo-list or get a third party control as suggested above.

My prefered is Component Toolbox from dbi www.dbi-tech.com

/Richard
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
williery10Author Commented:
Would kind of like to avoid using third party components. Wouldn't Datagrid allow me to do the above.

Best regards,
Will
0
 
DarkoLordCommented:
Almost everything can be done with subclassing... you should consider first if it is worth that time though...

Darko
0
 
RichardCorrieCommented:
<Gris control >
I meant the GRID control, of course!!!!

/Richard
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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