chunkangwong / arcgis-featureTable-bulk-edit

Sample code to demonstrate bulk editing feature on ArcGIS JS API FeatureTable widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArcGIS FeatureTable Bulk Edit Feature

Sample code to demonstrate the implementation of bulk editing feature on ArcGIS JS API FeatureTable widget.

Installation

  1. Clone this repository to your local machine.
  2. Run the following command to install dependencies:
    npm install
    or the following if you are using yarn:
    yarn install
  3. Run the following command to run the sample:
    npm run dev
    or the following if you are using yarn:
    yarn dev

Instructions

  1. First select a few rows.
  2. Edit on one of the cells in anyone of the selected rows by double-clicking on the cell.
  3. Press "Enter" to save the changes.
  4. Observe the same changes on the rest of the selected rows.

Experimental

This sample is using FeatureTable.grid.selectedItems._items, an undocumented property to determine the selected rows. You may refer to the Esri Community post here.

About

Sample code to demonstrate bulk editing feature on ArcGIS JS API FeatureTable widget


Languages

Language:CSS 46.4%Language:JavaScript 42.2%Language:HTML 11.4%