janus gridex我只需要为某些行显示链接按钮?

时间:2013-12-10 13:54:56

标签: c# winforms janus gridex

如果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;
        }
   }

0 个答案:

没有答案