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

Datagrid Checkbox

P: n/a
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;
BoolColFinished.AllowNull = false;
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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:7b********************************@4ax.com...
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;
BoolColFinished.AllowNull = false;

Nov 15 '05 #2

P: n/a
On Tue, 10 Feb 2004 11:53:49 +0100, "Z黵cher See"
<aq****@cannabismail.com> wrote:
Are you using a DataSet? Set in the XML of the DataTable a default value: <
... default=false>
Big thanks mate.

"nick" <no@no.com> schrieb im Newsbeitrag
news:7b********************************@4ax.com.. .
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;
BoolColFinished.AllowNull = false;


Nov 15 '05 #3

P: n/a

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.

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.