gregnb / gregnb/mui-datatables

Can I have 2 or more mui datatables on the same page?

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

Description

Basically, I am working on a dashboard in which users can manage products listings and variations. I want to have to use mui-datatables for both of them and they can sometimes be on the same page.
I noticed that each row on the table has in id format of "MUIDataTableBodyRow-{rowIndex}" so I was wondering, if I have 2 tables, will the ids conflict because some of my operations involves getting the using the row ids (like to implement dblclick and custom styling for edited rows)

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.