Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkbox in datagrid - sample 1

Status
Not open for further replies.

topci

Programmer
May 6, 2005
16
SI
Hi,

i need some sample, how to input a checkbox into datagrid. I use VB 6 wiht Datagrid control to get a recordsed from MS SQL Server. i need to give a user posibility to check some rows, and then, i will make some action only for checked rows.

Have a somebody a idea, how to handle this problem?

Please....

Lp,DaT
 
See thread709-520356 and thread709-615575.

zemp
 
Tnx, man, for this, but have you a idea where to get 3rd party grid (not Dbflex grid). I think flex grid will be to slow or not so usefull to use.

Lp,DaT
 
I have found flexgrid to be as fast as datagrid, with the advantage of not being a bound-only control. I would use the methods described in FAQ222-3262.

You may be able to use the same principles on a datagrid anyway

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
Essex Steam UK for steam enthusiasts
 
Personally I use the Flexgrid and change the .cellpicture for yes/no toggling via the click event.

zemp
 
I do the same as Zemp, except just toggle it displaying a big "X" in the cell. I really like flexgrids.

________
Remember, you're unique... just like everyone else.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top