A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-table/ below:

Feature Table | ArcGIS Maps SDK for JavaScript 4.33

Use dark colors for code blocks Copy

1
import "@arcgis/map-components/components/arcgis-feature-table";

No specific import is needed for this component.

The Feature Table component provides an interactive tabular view of each feature's attributes in a feature layer.

Demo Properties actionColumn

readonlyProperty

Reference to the current action column.

Read more...

actionColumnConfig

Property

Configuration for the ActionColumn.

Read more...

activeFilters

readonlyProperty

A read-only property indicating the type of filter used by the table. It returns either filters by geometry or selections using a row's object ID.

activeSortOrders

readonlyProperty

Use this read-only property if needing to query features while retaining a column's sort order.

Default value
[]
allColumns

readonlyProperty

A flattened array of all columns within the table, including nested columns.

Read more...

allRelatedTablesVisible

readonlyProperty

allRelatedTablesVisible: boolean

Indicates the table is displaying all related tables in "show all" mode.

Default value
false
allVisibleColumns

readonlyProperty

allVisibleColumns: Array<Column>

A flattened array of all visible columns within the table, including nested columns.

Read more...

attachmentsColumns

readonlyProperty

A flattened array of all attachment columns within the table, including nested columns.

Read more...

attachmentsEnabled

Property

attachmentsEnabled: boolean

Indicates whether to display the Attachments field in the table.

Attribute
attachments-enabled
Default value
false
attachmentsViewOptions

readonlyProperty

This read-only property provides the the configuration options for the attachments view.

Read more...

attributeTableTemplate

Property

Use this property to configure how columns display within the table in regard to visibility, column order, and sorting.

Read more...

autoDestroyDisabled

Property

autoDestroyDisabled: boolean

If true, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the destroy method when you are done to prevent memory leaks.

Attribute
auto-destroy-disabled
Default value
false
autoRefreshDisabled

Property

autoRefreshDisabled: boolean

Indicates whether the table should automatically refresh when the underlying data changes

Attribute
auto-refresh-disabled
Default value
false
columnPerformanceModeDisabled

Property

columnPerformanceModeDisabled: boolean

Indicates whether to enable the table's column performance mode. This mode is designed to improve the performance of the table when working with a large number of columns.

Attribute
column-performance-mode-disabled
Default value
false
columnReorderingDisabled

Property

columnReorderingDisabled: boolean

Indicates whether the table should allow reordering of columns.

Attribute
column-reordering-disabled
Default value
false
columns

readonlyProperty

A read-only collection of column, field, group, action, attachment, and relationship columns that are displayed within the table.

definitionExpression

Property

definitionExpression: string

The SQL where clause used to filter features visible in the table.

Read more...

Attribute
definition-expression
description

Property

description: Function | string

Text displayed in the table header, under the title.

Read more...

Attribute
description
editingEnabled

Property

editingEnabled: boolean

Indicates whether editing is enabled on the data within the feature table.

Attribute
editing-enabled
Default value
false
effectiveSize

readonlyProperty

effectiveSize: number

Total number of records displayed in the table's current view.

fieldColumns

readonlyProperty

A flattened array of all field columns within the table, including nested columns.

Read more...

filterBySelectionEnabled

Property

filterBySelectionEnabled: boolean

Indicates whether the table only displays rows that are considered selected.

Attribute
filter-by-selection-enabled
Default value
false
filterGeometry

Property

Set this property to filter the features displayed in the table.

Default value
null
groupColumns

readonlyProperty

A flattened array of all group columns within the table.

Read more...

hiddenFields

Property

A collection of string values which indicate field.names that should be hidden within the table.

Read more...

hideColumnDescriptions

Property

hideColumnDescriptions: boolean

Indicates whether to display descriptions in the header cells of individual columns.

Attribute
hide-column-descriptions
Default value
false
hideColumnMenuItemsSortAscending

Property

hideColumnMenuItemsSortAscending: boolean

Indicates whether to display the Sort Ascending menu item.

Attribute
hide-column-menu-items-sort-ascending
Default value
false
hideColumnMenuItemsSortDescending

Property

hideColumnMenuItemsSortDescending: boolean

Indicates whether to display the Sort Descending menu item.

Attribute
hide-column-menu-items-sort-descending
Default value
false
hideColumnMenus

Property

hideColumnMenus: boolean

Indicates whether to display the menu items within the individual columns

Attribute
hide-column-menus
Default value
false
hideHeader

Property

hideHeader: boolean

Indicates whether to display the feature table's header information.

Attribute
hide-header
Default value
false
hideLayerDropdownIcons

Property

hideLayerDropdownIcons: boolean

Indicates whether to display layer-specific icons in the layer drop down menu.

Attribute
hide-layer-dropdown-icons
Default value
false
hideMenu

Property

hideMenu: boolean

Indicates whether to display the feature table's menu.

Attribute
hide-menu
Default value
false
hideMenuItemsClearSelection

Property

hideMenuItemsClearSelection: boolean

Indicates whether to display the Clear selection menu item.

Attribute
hide-menu-items-clear-selection
Default value
false
hideMenuItemsDeleteSelection

Property

hideMenuItemsDeleteSelection: boolean

Indicates whether to display the Delete Selection menu item.

Attribute
hide-menu-items-delete-selection
Default value
false
hideMenuItemsExportSelectionToCsv

Property

hideMenuItemsExportSelectionToCsv: boolean

Indicates whether to display the Export selection to CSV menu item.

Attribute
hide-menu-items-export-selection-to-csv
Default value
false
hideMenuItemsRefreshData

Property

hideMenuItemsRefreshData: boolean

Indicates whether to display the Refresh data menu item.

Attribute
hide-menu-items-refresh-data
Default value
false
hideMenuItemsSelectedRecordsShowAllToggle

Property

hideMenuItemsSelectedRecordsShowAllToggle: boolean

Indicates whether to toggle between showing only selected records in the table to showing all of the records.

Attribute
hide-menu-items-selected-records-show-all-toggle
Default value
false
hideMenuItemsSelectedRecordsShowSelectedToggle

Property

hideMenuItemsSelectedRecordsShowSelectedToggle: boolean

Indicates whether to display the Show selected records menu item.

Attribute
hide-menu-items-selected-records-show-selected-toggle
Default value
false
hideMenuItemsToggleColumns

Property

hideMenuItemsToggleColumns: boolean

Indicates whether to enable toggling column visibility within the menu.

Attribute
hide-menu-items-toggle-columns
Default value
false
hideMenuItemsZoomToSelection

Property

hideMenuItemsZoomToSelection: boolean

Indicates whether to display the Zoom to selected menu item.

Attribute
hide-menu-items-zoom-to-selection
Default value
false
hideProgress

Property

hideProgress: boolean

Indicates whether to display the progress indicator when the table is querying or syncing data.

Attribute
hide-progress
Default value
false
hideSelectionColumn

Property

hideSelectionColumn: boolean

Indicates whether to display the selection column in the table. Each row has a checkbox that selects its corresponding feature.

Attribute
hide-selection-column
Default value
false
hideTooltips

Property

hideTooltips: boolean

Indicates whether to display the tooltip for the Show/hide columns button.

Attribute
hide-tooltips
Default value
false
highlightDisabled

Property

highlightDisabled: boolean

Indicates whether to highlight the associated feature when a row is selected by checking the corresponding checkbox.

Read more...

Attribute
highlight-disabled
Default value
false
highlightIds

Property

This property accepts and returns a collection of feature object IDs.

Read more...

icon

Property

icon: string

Icon which represents the component. Typically used when the component is controlled by another component (e.g. by the Expand component).

See also
Attribute
icon
Default value
"table"
initialSize

Property

initialSize: number

The user-provided number of total features accessed from the data source.

Read more...

Attribute
initial-size
isQueryingOrSyncing

readonlyProperty

isQueryingOrSyncing: boolean

A read-only property which indicates if the table is querying or syncing data.

Default value
false
label

Property

label: string

The components label.

Attribute
label
layerItemId

Property

layerItemId: string

Portal Item Id for a layer to load. You can set, layer, layerUrl, or itemId, but not more than one.

Attribute
layer-item-id
layers

Property

Group of layers displayed in the dropdown component in the table's header, which allows changing what layer is currently displayed in the table.

layerUrl

Property

layerUrl: string

Url for a layer to load. You can set, layer, layerUrl, or itemId, but not more than one.

Attribute
layer-url
layerView

readonlyProperty

The layer view associated with the table's layer.

maxSize

Property

maxSize: number

This property is applicable when working with layers that contain a large number of features, as it provides the ability to limit the displayed total feature count.

Read more...

Attribute
max-size
menuConfig

Property

Set this object to customize the feature table's menu content.

Read more...

multipleSelectionDisabled

Property

multipleSelectionDisabled: boolean

Controls whether the table allows multiple selected rows.

Read more...

Attribute
multiple-selection-disabled
Default value
false
multipleSortEnabled

Property

multipleSortEnabled: boolean

Indicates whether sorting multiple columns is supported within the table.

Attribute
multiple-sort-enabled
Default value
false
multipleSortPriority

Property

multipleSortPriority: "append" | "prepend"

This property can be used to determine how newly sorted columns are prioritized.

Attribute
multiple-sort-priority
Default value
"prepend"
navigationScale

Property

navigationScale: "l" | "m" | "s"

This property controls the scale of all components in the navigation bar displayed when viewing attachments or related records.

Read more...

Attribute
navigation-scale
noDataMessage

Property

noDataMessage: string

This property can be used to override the text displayed when the table is fully loaded but no rows are available.

Read more...

Attribute
no-data-message
objectIds

Property

This property accepts and returns a collection of feature object IDs.

Read more...

outFields

Property

outFields: Array<string>

An array of field names from the table's data source to include when the table requests data.

Read more...

pageCount

readonlyProperty

pageCount: number

Number of pages of features to be displayed in the table, based on the total number of features and configured pageSize.

Read more...

pageIndex

Property

pageIndex: number

Represents the index of the page of the feature currently being displayed.

Read more...

Attribute
page-index
pageSize

Property

pageSize: number

The default page size used when displaying features within the table.

Attribute
page-size
Default value
50
paginationEnabled

Property

paginationEnabled: boolean

Controls whether the table should only display a single page of features at any time.

Attribute
pagination-enabled
Default value
false
position

Property

position: "bottom-leading" | "bottom-left" | "bottom-right" | "bottom-trailing" | "manual" | "top-leading" | "top-left" | "top-right" | "top-trailing"

Attribute
position
Default value
"manual"
referenceElement

Property

By assigning the id attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.

See also
Attribute
reference-element
relatedRecordsEnabled

Property

relatedRecordsEnabled: boolean

Indicates whether to display any related records associated with rows within the table.

Attribute
related-records-enabled
Default value
false
relatedTable

Property

Reference to a nested table instance representing a relationship with another table.

relatedTables

Property

A collection of nested table instances.

Read more...

relationshipColumns

readonlyProperty

A flattened array of all relationship columns within the table, including nested columns.

Read more...

returnGeometryEnabled

Property

returnGeometryEnabled: boolean

Indicates whether to fetch geometries for the corresponding features displayed in the table.

Attribute
return-geometry-enabled
Default value
false
returnMEnabled

Property

returnMEnabled: boolean

Indicates whether geometries fetched for the corresponding features contain M values, if supported.

Attribute
return-m-enabled
Default value
false
returnZEnabled

Property

returnZEnabled: boolean

Indicates whether the fetched features' geometries contain Z values.

Attribute
return-z-enabled
Default value
false
rowHighlightIds

Property

This property accepts and returns a collection of feature object IDs.

Read more...

showLayerDropdown

Property

showLayerDropdown: boolean

Indicates whether to display the feature table's layer switch drop down menu.

Attribute
show-layer-dropdown
Default value
false
size

readonlyProperty

size: number

Total number of records currently displayed in the table.

Default value
0
state

state: "disabled" | "error" | "loaded" | "loading" | "ready"

The current state of the component.

Attribute
state
Default value
"disabled"
supportsAddAttachments

readonlyProperty

supportsAddAttachments: boolean

Indicates whether the table and associated layer support adding attachments with the current configuration.

Read more...

Default value
false
supportsAttachments

readonlyProperty

supportsAttachments: boolean

Indicates whether the table and associated layer support viewing attachments with the current configuration.

Read more...

Default value
false
supportsDeleteAttachments

readonlyProperty

supportsDeleteAttachments: boolean

Indicates whether the table and associated layer support deleting attachments with the current configuration.

Read more...

Default value
false
supportsResizeAttachments

readonlyProperty

supportsResizeAttachments: boolean

Defines whether or not the feature supports resizing attachments.

Read more...

Default value
false
supportsUpdateAttachments

readonlyProperty

supportsUpdateAttachments: boolean

Indicates whether the table and associated layer support updating attachments with the current configuration.

Read more...

Default value
false
syncTemplateOnChangesDisabled

Property

syncTemplateOnChangesDisabled: boolean

Indicates whether the table should synchronize the current attributeTableTemplate being used based on changes made to the table's UI.

Attribute
sync-template-on-changes-disabled
Default value
false
tableController

Property

Reference to top-level controller table, if this table is a related table, nested within and controlled by another table.

tableDisabled

Property

tableDisabled: boolean

Indicates whether the table is disabled.

Read more...

Attribute
table-disabled
Default value
false
tableParent

Property

Reference to a table instance that this table is directly related to.

tableTemplate

Property

The associated template used for the feature table.

Read more...

timeExtent

Property

The TimeExtent in which to filter and display data within the FeatureTable widget.

Read more...

timeZone

Property

timeZone: string

Dates and times displayed in the widget will be in terms of this time zone.

Read more...

Attribute
time-zone
visibleColumns

readonlyProperty

A flattened array of all top-level visible columns.

Read more...

Slots

No slots to display.

Events arcgisCellClick

Event

arcgisCellClick: FeatureTableCellClickEvent bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisCellKeydown

Event

arcgisCellKeydown: FeatureTableCellKeydownEvent bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisCellPointerout

Event

arcgisCellPointerout: FeatureTableCellPointeroutEvent bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisCellPointerover

Event

arcgisCellPointerover: FeatureTableCellPointeroverEvent bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisColumnReorder

Event

arcgisColumnReorder: FeatureTableColumnReorderEvent bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisPropertyChange

Event

arcgisPropertyChange: CustomEvent<{ name: "state" | "size" | "effectiveSize" | "isQueryingOrSyncing" | "layerView"; }>

Emitted when the value of a property is changed. Use this to listen to changes to properties.

bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisReady

Event

arcgisReady: CustomEvent<void>

Emitted when the component associated with a map or scene view is is ready to be interacted with.

bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

arcgisSelectionChange

Event

arcgisSelectionChange: CollectionChangeEvent<string | number> bubbles

Events triggered on this element will be propagated to their outermost elements.

composed

The event is composable and will propagate across the shadow DOM into the standard DOM.

cancelable

The event's default behavior can be canceled, allowing for custom behavior to be implemented instead.

Methods Method Signature componentOnReady

componentOnReady(): Promise<void>

deleteSelection

deleteSelection(showWarningPrompt?: boolean): Promise<void>

destroy

destroy(): Promise<void>

exportSelectionToCSV

exportSelectionToCSV(includeGeometry?: boolean): Promise<void>

findColumn

findColumn(fieldName: string): Promise<__esri.ActionColumn | __esri.AttachmentsColumn | __esri.Column | __esri.GroupColumn | __esri.RelationshipColumn | nullish>

goToPage

goToPage(index: number): Promise<void>

hideColumn

hideColumn(fieldName: string): Promise<void>

nextPage

nextPage(): Promise<void>

previousPage

previousPage(): Promise<void>

refresh

refresh(): Promise<void>

scrollToBottom

scrollToBottom(): Promise<void>

scrollToIndex

scrollToIndex(index: number): Promise<void>

scrollToLeft

scrollToLeft(): Promise<void>

scrollToRow

scrollToRow(objectId: number): Promise<void>

scrollToTop

scrollToTop(): Promise<void>

showAllColumns

showAllColumns(): Promise<void>

showColumn

showColumn(fieldName: string): Promise<void>

sortColumn

sortColumn(path: string, direction: "asc" | "desc"): Promise<void>

zoomToSelection

zoomToSelection(): Promise<void>

componentOnReady

Method

componentOnReady(): Promise<void>

Create a promise that resolves once component is fully loaded.

Example

Use dark colors for code blocks Copy

1
2
3
4
const arcgisFeatureTable = document.querySelector("arcgis-feature-table");
document.body.append(arcgisFeatureTable);
await arcgisFeatureTable.componentOnReady();
console.log("arcgis-feature-table is ready to go!");
Returns
Promise<void>
deleteSelection

Method

deleteSelection(showWarningPrompt?: boolean): Promise<void>

Parameters Parameter Type Optional?

showWarningPrompt

boolean | undefined

Returns
Promise<void>
destroy

Method

destroy(): Promise<void>

Permanently destroy the component.

Returns
Promise<void>
exportSelectionToCSV

Method

exportSelectionToCSV(includeGeometry?: boolean): Promise<void>

Parameters Parameter Type Optional?

includeGeometry

boolean | undefined

Returns
Promise<void>
findColumn

Method

findColumn(fieldName: string): Promise<__esri.ActionColumn | __esri.AttachmentsColumn | __esri.Column | __esri.GroupColumn | __esri.RelationshipColumn | nullish>

Parameters Parameter Type Optional?

fieldName

string

Returns
Promise<[AttachmentsColumn](https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-AttachmentsColumn.html) | ActionColumn | Column | GroupColumn | RelationshipColumn | null | undefined>
goToPage

Method

goToPage(index: number): Promise<void>

Parameters Parameter Type Optional?

index

number

Returns
Promise<void>
hideColumn

Method

hideColumn(fieldName: string): Promise<void>

Parameters Parameter Type Optional?

fieldName

string

Returns
Promise<void>
nextPage

Method

nextPage(): Promise<void>

Returns
Promise<void>
previousPage

Method

previousPage(): Promise<void>

Returns
Promise<void>
refresh

Method

refresh(): Promise<void>

Returns
Promise<void>
scrollToBottom

Method

scrollToBottom(): Promise<void>

Returns
Promise<void>
scrollToIndex

Method

scrollToIndex(index: number): Promise<void>

Parameters Parameter Type Optional?

index

number

Returns
Promise<void>
scrollToLeft

Method

scrollToLeft(): Promise<void>

Returns
Promise<void>
scrollToRow

Method

scrollToRow(objectId: number): Promise<void>

Parameters Parameter Type Optional?

objectId

number

Returns
Promise<void>
scrollToTop

Method

scrollToTop(): Promise<void>

Returns
Promise<void>
showAllColumns

Method

showAllColumns(): Promise<void>

Returns
Promise<void>
showColumn

Method

showColumn(fieldName: string): Promise<void>

Parameters Parameter Type Optional?

fieldName

string

Returns
Promise<void>
sortColumn

Method

sortColumn(path: string, direction: "asc" | "desc"): Promise<void>

Parameters Parameter Type Optional?

path

string

direction

"asc" | "desc"

Returns
Promise<void>
zoomToSelection

Method

zoomToSelection(): Promise<void>

Returns
Promise<void>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4