Remove specific index element from listView

It's great to see everyone chipping in to help solve this! :star_struck:

If the above solution has not worked for you, here's another workaround I've come up with that may help. It basically has the "Remove" button perform 2 Event Handlers:

  • Decrement the number from your temporary state that fills your ListView> Number of Rows
  • Make a copy of your ListView data. Use the JS method splice() and removes the data from your current textInputs using the specific ListView index(aka: "your row"), and set the value of the temporary state holding your existing data that no longer contains the deleted row.

Exported app:
delete_specific_listview_row.json (8.7 KB)

2 Likes