gregnb / gregnb/mui-datatables

Bug On rowDatas After Search

Open
#1,646 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

## Current Behavior

## Steps to Reproduce (for bugs)

Look at these images.

This is how my table looks like in the first seen and the rowDatas near.
![image](https://user-images.githubusercontent.com/48006953/106588133-7e47dc00-655b-11eb-949a-6f2d35365f57.png)

Let's search a data in my table and look again the row Data.
![image](https://user-images.githubusercontent.com/48006953/106588292-a9cac680-655b-11eb-8546-8752ecc77218.png)

Can you see it? There is a bug. But there is something more. If I searched the data and get TWO ROW, it gives me the true rowData on SECOND ROW. Let me explain myself.

I searched again but this time using the "bil" keyword instead "bilgin".
![image](https://user-images.githubusercontent.com/48006953/106588597-0928d680-655c-11eb-86fa-2d80fb008bce.png)

The result(rowData) is true when the clicked data in second or more row.

## Your Environment

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported search and rowData behavior in the table, comparing a single search result with results containing two or more rows. Trace the edit, delete, or show action that reads rowData and verify that it identifies the clicked searched row rather than the first table row; done means each action receives the corresponding rowData after filtering.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.