Page 1 of 1

Datagrid Check boxes

Posted: Thu Feb 03, 2011 7:20 pm
by bsouthuk
I have added check boxes to a column in my datagrid and I want the text in the same colums to show as True if the check box is ticked and False if the check box is NOT ticked.

This really should be straight forward but I have been at it for about 2 hours now.

Could someone please help me!

Thanks

Daniel

Re: Datagrid Check boxes

Posted: Fri Feb 04, 2011 12:40 pm
by bsouthuk
Is this not possible to implement or so simple that its not worth a response!

Any comments?

Re: Datagrid Check boxes

Posted: Fri Feb 04, 2011 3:47 pm
by trevordevore
HI Daniel,

If the checkbox and text reside in the same column then it should just be a matter of setting the "label" of the checkbox to "TRUE" or "FALSE" based on the column value (which I assume you use to set the checked state of the checkbox).

Can you explain how you have set things up and what code you have tried up until now?