gregnb / gregnb/mui-datatables

Filtered values get reset in case of multiple selection of items.

Open
#977 9 comments 0 reactions 1 assignee Claimed by @gabrielliwerant View on GitHub
bug
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Filtered values get reset when you have multiple selection data-table. On selecting a single all all rows from header, the filter reset and displays all rows

## Expected Behavior
If you filtered a data table and have a multiple selectable rows, the filter should stay unless user removes the filter or reset filter or changes any filter values. Data- Table shouldn't keep the state of filter and should only show filtered rows on single or multiple row selection

## Current Behavior
On multiple data-table adding a filter and selecting a single or multiple rows on filtered results, control removes filter and shows all rows

| Tech | Version |
|--------------|---------|
| Material-UI | 4.4.3 |
| MUI-datatables | 2.11.1 |
| React | 16.10.1 |
| browser | Chrome/Safari |
| 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.