By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 958 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

DataGrid tick

P: n/a
Hi,
i've a column in my datagrid as boolean(have tickboxes) but clicking in them
is not the same a normal tickbox control.in tickbox control you click once
and it comes true you click the second time it will become fales, but the
tickbox of the datagrid for the time you see them look like ticked with a
gray color(like diabled) and if you want to change you have to click one to
highlight it and then the second to change it. so is a setting to be done for
the datagrid the way that you can change it only from clicking only once!!!?

--
Regads,
Rochdi
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The gray color means the underlying table value is NULL. You can define
the datacolumn with a default value of false and also AllowDBNull =
False. Then the checkbox will either be true or false.

Tom

Mike wrote:
Hi,
i've a column in my datagrid as boolean(have tickboxes) but clicking in them
is not the same a normal tickbox control.in tickbox control you click once
and it comes true you click the second time it will become fales, but the
tickbox of the datagrid for the time you see them look like ticked with a
gray color(like diabled) and if you want to change you have to click one to
highlight it and then the second to change it. so is a setting to be done for
the datagrid the way that you can change it only from clicking only once!!!?

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.