JJ
Jisha Joy
Syncfusion Team
November 1, 2010 06:49 AM UTC
Hi,
You could achieve the desired behavior by handling the QueryCellFormattedText event.
private void gridControl1_QueryCellFormattedText(object sender, GridCellTextEventArgs e)
{
if(e.Style.CellValueType == typeof(bool) && e.Style.CellType == "TextBox")
{
if(e.Value.ToString() == "True")
e.Text = "Yes";
else
e.Text = "No";
e.Handled = true;
}}
Regards,
Jisha