Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeatureTableViewModel

Hierarchy

Index

Properties

attachmentsEnabled

attachmentsEnabled: boolean

Indicates whether to display the Attachments field in the table.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

editingEnabled

editingEnabled: boolean

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

Read more...

fieldConfigs

fieldConfigs: FieldColumnConfig[]

An array of individual configuration objects.

Read more...

filterGeometry

filterGeometry: Geometry

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

Read more...

hiddenFields

hiddenFields: Collection<string>

A collection of fields to remain hidden within the table.

Read more...

highlightOnRowSelectEnabled

highlightOnRowSelectEnabled: boolean

Indicates whether to highlight the associated feature when a row is selected.

Read more...

initialized

initialized: boolean

layer

The associated FeatureLayer or SceneLayer containing the fields and attributes to display within the widget.

Read more...

Readonly state

state: "disabled" | "ready" | "loading"

The view model's state.

Read more...

view

view: MapView

A reference to the MapView.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns FeatureTableViewModel

clearHighlights

  • clearHighlights(): void
  • This clears any highlighted features.

    Read more...

    Returns void

clearSelection

  • clearSelection(): void
  • Clears the current selection within the table.

    Read more...

    Returns void

deselectRows

  • Unselects the specified rows within the table.

    Read more...

    Parameters

    Returns void

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

getObjectIdIndex

  • getObjectIdIndex(objectId: number): number
  • Returns current row index for the associated feature.

    Read more...

    Parameters

    • objectId: number

    Returns number

getValue

  • getValue(objectId: number, fieldName: string): any
  • Returns a field value given the specified feature ObjectId and an associated fieldName.

    Read more...

    Parameters

    • objectId: number
    • fieldName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

refresh

  • refresh(): void
  • Refreshes the table contents.

    Read more...

    Returns void

scrollToIndex

  • scrollToIndex(index: number): void
  • Scrolls the table to a row based on specified index.

    Read more...

    Parameters

    • index: number

    Returns void

selectRows

  • Selects the specified rows within the table.

    Read more...

    Parameters

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns FeatureTableViewModel

  • Parameters

    Returns FeatureTableViewModel

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc