gregnb / gregnb/mui-datatables

Server Side delete MuiDataTable.

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

Description

I want to make an axios delete request for a bunch of rows in MuiDataTable so I need data like ids from the displayed users (for example).

when I used "onRowsDelete: (rowsDeleted, dataRows)" I got Data and DataIndex, that's cool but not enough and 'dataRows' is undefiend
I tried looping inside 'state' and have the advantage of having (index&dataIndex) but I faced some problems.
This data table is so useful with me till now so I am sure there is a better way to access the real data, please help me.

## Expected Behavior

## Current Behavior

## Steps to Reproduce (for bugs)

1.
2.
3.
4.

## Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | |
| MUI-datatables | |
| React | |
| browser | |
| etc | |

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.