Filter display of FeatureTable records

3980
2
04-30-2015 05:42 PM
JasonMann
New Contributor

Is there a simple way to filter the display of local offline FeatureTable records?  The ServiceFeatureTable contains a Where clause to add an expression to filter the records that are displayed on the map when a layer is added, but the FeatureTable does not appear to have this functionality.  I only want to display features that are not set to "Completed" in the attribute table field.

0 Kudos
2 Replies
AnttiKajanus1
Occasional Contributor III

You can use FeatureLayer.DefinitionExpression Property to define what is visible.

JasonMann
New Contributor

Thanks for your reply.  That is exactly what I needed and I can't believe that I overlooked that property.

0 Kudos