DataGrid Column Boolean Value Formatting

  • Thread starter Thread starter Evan Brown
  • Start date Start date
E

Evan Brown

Hi

I have a Datagrid with a boolean column in it. I currently have it set
as a textboxColumn and not a checkcolumn. what I want to do is have it
say yes/no not true/false. Any suggestions?

Evan Brown
 
Hi,

Override GetColumnValueAtRow and SetColumnValueAtRow to provide custom
formatting and parsing.
 
Hi,
I have a boolean column in my datagrid. During runtime when I check the
checkbox there are actually Three states for the checkbox. So I have to
actually double click to change from true to false. is there a way in which I
can just click once and then when I check it toggeles. Something like setting
the Threestate property for a Checkbox as false.How can I achive the same for
a Datagrid column.

myDataColumn = new DataColumn("CoumnName",typeof(bool));
thanks.
-ZS


Dmitriy Lapshin said:
Hi,

Override GetColumnValueAtRow and SetColumnValueAtRow to provide custom
formatting and parsing.

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

Evan Brown said:
Hi

I have a Datagrid with a boolean column in it. I currently have it set as
a textboxColumn and not a checkcolumn. what I want to do is have it say
yes/no not true/false. Any suggestions?

Evan Brown
 
Back
Top