【问题标题】:Infragistics grid基础设施网格
【发布时间】:2013-03-07 19:56:45
【问题描述】:

我正在使用 Infragistics WebDataGrid 来显示数据。 当其中一列具有null 值时,该行不会显示在该网格中。

有人有建议吗?

【问题讨论】:

    标签: c# asp.net infragistics webdatagrid


    【解决方案1】:

    将所需列的Nullable属性设置为Nullable.Null,如下图:

    // Get a column.
    UltraGridColumn column = this.ultraGrid1.DisplayLayout.Bands[0].Columns["Phone"];
    
    // Set the Nullable to Null so the UltraGrid
    column.Nullable = Nullable.Null;
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-29
      • 1970-01-01
      • 2016-06-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多