DataGrid tick

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!!!?
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top