Hi,
I have no problems binding my classes to the GridView. But when I attempt to bind a linq filtered DataSet table
IEnumerable<DB.MyDataSet.XXXRow> filter = dataset.XXX.Take(10); GridView.ItemsSource = filter; |
all I see in GridView is rows with no text in them, when I enter edit mode in a row, the missing text is suddenly right there. It goes invisible again when edit mode is canceled.
This is how I setup the header:
Telerik.Windows.Controls.GridViewDataColumn columnName = new Telerik.Windows.Controls.GridViewDataColumn();
columnName.DataType = typeof(string); columnName.UniqueName = "YYY"; columnName.Header = "sweet YYY"; |
any ideas what is going on?
Thanks
Jiri