Since Version 2.2 the feature data grid does not display rows containing null values anymore. A Silverlight error is raised instead: Unhandled Error in Silverlight Application All rows must be of type 'System.Nullable`1[System.Double]' for the 'DiffPct' attribute. at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.AllAttributesMatch(PropertyInfo[] itemsSourceProperties, IDictionary`2 graphicAttributes) at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.UpdateItemsSource(Object sender, NotifyCollectionChangedEventArgs e) at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.Graphics_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item) at ESRI.ArcGIS.Client.GraphicCollection.InsertItem(Int32 index, Graphic item) at System.Collections.ObjectModel.Collection`1.Add(T item) at ESRI.ArcGIS.Client.FeatureLayer.addGraphic(Graphic g) at ESRI.ArcGIS.Client.FeatureLayer.task_QueryComplete(Object sender, QueryEventArgs args) at ESRI.ArcGIS.Client.Tasks.QueryTask.OnExecuteCompleted(QueryEventArgs args) at ESRI.ArcGIS.Client.Tasks.QueryTask.<>c__DisplayClass6.<request_Completed>b__4(FeatureSet fs, Exception ex) at ESRI.ArcGIS.Client.Tasks.FeatureSet.<>c__DisplayClass2.<FromJsonAsync>b__0(Object s, RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.<OnRun>b__1(Object state)An example of a typical Binding of type DataGridTextColumn is this one: <my:DataGridTextColumn Binding="{Binding DiffPct, TargetNullValue='0', StringFormat=\{0:P2\}}" Width="130" Header="% Change" CanUserSort="True" />
Prior to toolkit version 2.2 it would just work.