https://github.com/chunkangwong/arcgis-featuretable-bulk-edit
Sample code to demonstrate bulk editing feature on ArcGIS JS API FeatureTable widget
https://github.com/chunkangwong/arcgis-featuretable-bulk-edit
arcgis-js-api feature-table nodejs vitejs
Last synced: 5 months ago
JSON representation
Sample code to demonstrate bulk editing feature on ArcGIS JS API FeatureTable widget
- Host: GitHub
- URL: https://github.com/chunkangwong/arcgis-featuretable-bulk-edit
- Owner: chunkangwong
- Created: 2022-07-25T07:59:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T01:12:51.000Z (over 3 years ago)
- Last Synced: 2025-02-25T23:21:46.663Z (10 months ago)
- Topics: arcgis-js-api, feature-table, nodejs, vitejs
- Language: CSS
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```cmd
npm install
```
or the following if you are using yarn:
```cmd
yarn install
```
3. Run the following command to run the sample:
```cmd
npm run dev
```
or the following if you are using yarn:
```cmd
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](https://community.esri.com/t5/arcgis-api-for-javascript-questions/featuretable-get-selected-rows/td-p/1158129).