Sample code to demonstrate the implementation of bulk editing feature on ArcGIS JS API FeatureTable widget.
- Clone this repository to your local machine.
- Run the following command to install dependencies:
or the following if you are using yarn:
npm install
yarn install
- Run the following command to run the sample:
or the following if you are using yarn:
npm run dev
yarn dev
- First select a few rows.
- Edit on one of the cells in anyone of the selected rows by double-clicking on the cell.
- Press "Enter" to save the changes.
- Observe the same changes on the rest of the selected rows.
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.