Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is there way to add action buttons to edit delete a row? #49

Closed
dnaicker86 opened this issue Jul 22, 2023 · 3 comments
Closed
Labels
wontfix This will not be worked on

Comments

@dnaicker86
Copy link

No description provided.

@vincjo
Copy link
Owner

vincjo commented Jul 24, 2023

There is currently no method or component to edit/delete or create a row.

But it is relevant and will probably be added in a future release

@AngeloAnolin
Copy link

AngeloAnolin commented Aug 14, 2023

This implements the above request.

https://vincjo.fr/datatables/reactivity

Posting the code would be helpful.

The code for the implementation of the function can be found here.

@macellinoss275
Copy link

macellinoss275 commented Aug 29, 2023

Is this even needed? This is not even Svelte DataTables problem, isn't it? Pretty sure all you need to do is just create 2 buttons, make back-end functions related to those buttons and that's all. Since Svelte DataTables could automatically add or remove the row (or data) anyway after those functions got executed. Because that's what I've always do.

@vincjo vincjo added the wontfix This will not be worked on label Jun 9, 2024
@vincjo vincjo closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants