如果q =>我需要隐藏原因单元格“0”
此代码无效:
private void gridProject_FormattingRow(object sender, Janus.Windows.GridEX.RowLoadEventArgs e)
{
string q = e.Row.Cells["Quality"].Value.ToString();
if (q == "0")
{
e.Row.Cells["Quality"].Text = "___";
e.Row.Cells["Reason"].ButtonEnabled =false;
}
}