Skip to content

delete row from table with button #3290

Closed Answered by adamleemiller
mankaz asked this question in Q&A
Discussion options

You must be logged in to vote

Simply add a button to each table row then using an click event, call a method that removes the data from your data set. This can be achieved by calling your API to remove the data from your database then refresh the data from the API or by using Javascript.splice to remove the item from the data set already loaded into the UI.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wesdevpro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants