2013-03-19 47 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;