|
-
Jul 21st, 2003, 06:12 AM
#1
Thread Starter
Junior Member
Beginer
Hello,
I have to add a checkbox to the grid control.
There is a status field in database. If status is '1', I want to display the check box checked in the grid control. If it is 0, I want the check box to be un-checked.
Can some one tell me how to do that?
Thank you!
-
Jul 21st, 2003, 06:14 AM
#2
If you bind your data to the grid, doesn't it add the checkbox for you?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 21st, 2003, 06:45 AM
#3
Thread Starter
Junior Member
Thanks for the reply. This is what I was doing.
I am binding the grid control to the recordset manually using
set dbgrid.datasource=oRs.datasource
only '1' and '0' are dipalying in my grid. Instead I want to dispaly checked and unchecked check boxes in the grid at ruin time.
Thank you!
-
Jul 21st, 2003, 08:17 AM
#4
Can a datagrid do that?
I didn't think it could...
Mind you I hardly use it as it's crap...
U could use a listView and then assign an image to a ListSubItem...that would be able to add ticks for you...
Or, even better, S-Grid from www.vbAccelerator.com...now that will do everything you could possible want...
Woka
Last edited by Wokawidget; Jul 21st, 2003 at 08:20 AM.
-
Jul 21st, 2003, 12:53 PM
#5
Thread Starter
Junior Member
It was asked in an exam
Thanks for the reply.
I don't know if it is possible to show a check box in the grid or not. I had attend an exam for an interview. They have given this creteria, showing the check box in the grid control.
I was not sure how to do that.
Thank you!
-
Jul 21st, 2003, 01:47 PM
#6
Did they specify the grid?
-
Jul 21st, 2003, 11:26 PM
#7
Thread Starter
Junior Member
Yes.
They perticularly specified Grid control.
-
Jul 22nd, 2003, 02:05 AM
#8
Junior Member
Hi !
I use TrueDB Grid to do that and is easy as 1, 2, 3, Please check the web site http://www.componentone.com
Good luck !
Daniel
-
Jul 22nd, 2003, 03:03 AM
#9
Re: Yes.
Originally posted by feb04
They perticularly specified Grid control.
Which Grid control though???
There are 100's 
Woka
-
Jul 22nd, 2003, 05:39 AM
#10
Thread Starter
Junior Member
Thank you!
Can it be possible without using the third party control?
Thanks!
-
Jul 22nd, 2003, 05:46 AM
#11
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|