Hi Kun,
Please try the code below in the QueryCellFormattedText event handler, this helps in formatting things as you like for boolean values in textbox cells.
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;
}
}
Let me know if this helps.
Thanks,
Rajagopal