Groups | Blog | Home
all groups > c# > february 2004 >

c# : Datagrid Checkbox


Zürcher See
2/10/2004 11:53:49 AM
Are you using a DataSet? Set in the XML of the DataTable a default value: <
.... default=false>

"nick" <no@no.com> schrieb im Newsbeitrag
news:7bch20pp3e1k16k6irhk5vsps8rckcs6om@4ax.com...
[quoted text, click to view]

nick
2/10/2004 11:32:20 PM
How do I make the bool column "unchecked" by default instead of
"greyed out" (indeterminate)? Here's the code for the bool column:

BoolColFinished = new DataGridBoolColumn();
BoolColFinished.MappingName = "finished";
BoolColFinished.HeaderText = "done";
BoolColFinished.FalseValue = false;
BoolColFinished.TrueValue = true;
nick
2/11/2004 12:14:01 AM
On Tue, 10 Feb 2004 11:53:49 +0100, "Z黵cher See"
[quoted text, click to view]

Big thanks mate.

[quoted text, click to view]
v-jetan NO[at]SPAM online.microsoft.com (
2/11/2004 2:49:03 AM

Hi Nick,

I am glad you got what you want.

If you still have anything unclear, please feel free to post, we will help
you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button