The Esri Community
Services & Programs
GeoNet Resource Hub
Operations Dashboard for ArcGIS
to create and rate content, and to follow, bookmark, and share content with other members.
Custom Widget with FeatureDataGrid
Discussion created by
on Apr 4, 2014
on Apr 4, 2014 by TPun-esristaff
Show 0 Likes
Is it possible to put a FeatureDataGrid in a custom Widget and hook it up to a MapWidget.Map graphics layer?
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Apr 4, 2014 2:28 PM
Yes you can do that. Indeed, we have a sample widget in Esri GitHub that does a similar function. You can find the widget from
then look at the code inside the Widget_Table folder. You will need to make a few slight changes to the code:
1. Add reference to ESRI.ArcGIS.Client.Toolkit
2. In TableWidget.xaml, add the namespace
3. Change the <DataGrid> tag in the above file to <esri.FeatureDataGrid>
4. If your version of the WPF SDK is not 10.1.1, please also update the OperationsDashboardAddIns.csproj file by replacing the 4 occurances of "ArcGISRuntimeWPF10.1.1" with your version of the SDK
Then you can put other functionality to your custom widget.
For your question about adding graphics to your map, you can take a look at the DriveTimesFeatureAction addin that comes with the WPF SDK. The typical location of that sample is: C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.2\sdk\samples\sampleapplication\Operations Dashboard Samples\DriveTimesFeatureActionCS
For more information about feature data grid and adding graphics, you can read:
Show 0 Likes
Retrieving data ...
How does containment work when visualizing in portal?
How can I turn off grid squares in my online arcgis.com map?
Symbolizing Feature Class using related table values
If you added a web map/scene, how did it go?
Publish exception ' Exception: Connection reset' When Publishing Hosted Feature Service