Feature Table
A FeatureTableWidget is bound to a WebMap's Region layer. Use the layer dropdown to switch between layers, and use the "Go to feature" action column to zoom the map to a row's feature. As you pan or zoom, the table filters its rows to features within the current map extent. Each layer's relationship columns are relabeled to "Related to: {prefix}" based on the relationship name, and when a related table is expanded a reactive waiter installs a matching zoom-to-feature action column on it.
This sample uses code from our GeoBlazor Pro extensions library.
For more information about licensing these advanced features, contact info@dymaptic.com.
About this sample
This GeoBlazor Pro sample, written in Blazor for .NET developers, demonstrates the FeatureTable widget from the ArcGIS Maps SDK for JavaScript exposed through GeoBlazor Pro's FeatureTableWidget Razor component. The page loads a WebMap by portal item id that contains several feature layers, including a Region layer. As each layer view is created, the sample walks the layer's AttributeTableTemplate elements and, for every RelationshipElement, looks up the matching Relationship by id and rewrites the element's Label to "Related to: {prefix}" (the substring of the relationship name before the first underscore). It then captures the Region layer as the active table layer alongside the WebMap's other layers in the FeatureTableWidget's dropdown. The table is configured with related records enabled, the selection column hidden, and a custom ActionColumnConfig labeled "Go to feature" that uses the zoom-to-object Calcite icon and a callback that calls MapView.GoTo on the row's feature. As the user pans or zooms, OnExtentChanged updates the widget's FilterGeometry so the visible rows track the map extent. A reactive waiter mirrors the JS sample's reactiveUtils.when on table.relatedTable: when a related table appears, the sample hides its column menus and selection column and installs a matching zoom-to-feature action column. The sample is intended to demonstrate driving a docked attribute table from a WebMap with layer switching, extent-based filtering, related-records configuration with relabeled relationship columns, and a feature-aware row action.