gregnb / gregnb/mui-datatables

Process Data on filterChange to show bifurcated count

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

Description

## Expected Behavior

I need to process on data when someone filter them. I need to show the data count based on country for ex. DK: 100 Records and FR: 50 Records. For that I need an filtered array once anyone apply filter on data.

I tried using onFilterChange but Its not returning array of data.

## Current Behavior

onFilterChange function(changedColumn: string, filterList: array, type: enum('checkbox', 'dropdown', 'multiselect', 'textField', 'custom', 'chip', 'reset'), changedColumnIndex, displayData)

type, changed columnIndex and displayData are undefined.

## Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | 3.9.2 |
| MUI-datatables | 2.15.0 |
| React | 16.7.0 |
| browser | Chrome |
| redux | 4.0.1 |

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.