gregnb / gregnb/mui-datatables

How to use onRowsDelete ?

Open
#1,046 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

I am currently sending in a useState variable that contains objects into a MUI-Datatables component that renders all objects to the table.

But how do I use the "onRowsDelete" function? is it possible some way to get the current showing objects in the table back so that I can use the usestate set-method to update the usestate to reflect the current table.

And if so how do I get the current objects in the table and how to I call the onRowsDelete correctly?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.