2013-03-19 45 views
0

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

有没有人有建议?

回答

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;