Questions tagged [react-data-table-component]

126 questions
0
votes
1 answer

Div next to title in react-data-table-component

I am experimenting with React and the react-data-table-component. I have set up a test table like this:
jahrentorp
  • 155
  • 1
  • 11
0
votes
5 answers

Adding serial number column in the table

I am using a library named react-data-table-component for table in my application. Everything is going pretty smooth however I need to add a column which will show serial number in my table. The serial number will always start from 1 to total number…
wazz
  • 92
  • 1
  • 4
  • 11
0
votes
1 answer

Error: element type is invalid expected a string (for built-in components) or a class/function (for composite elements)

I am fetching the data from the firebase and try to display all the data in table format. I found that ReactTable is a good way to print all the retrieved data in columns and rows and so I choose this method to print data in table form. But it is…
0
votes
0 answers

Why a row count being added automatically in the first column in react-data-table component

I am using react data-table component. It was working fine but suddenly the row count is showing up automatically in the first column as shown in the link above. I made no changes to the code. What could be the possible reason? useEffect } from…
0
votes
1 answer

MERN - delete item/row in React Data Table Component

I have a MERN stack application that is modified from a great tutorial I completed. In the original app, transactions were rendered in a list populated from an API call to Mongo Atlas DB. I converted the list to a react-data-table-component and am…
0
votes
1 answer

Open popup on DataTable row click in ReactJS

I'm using reactjs-popup and react-data-table-component npm libraries and I want to open a pop-up window when a row is clicked. This is my code: onRowClicked = (rowData,e) => { return (
Jadenkun
  • 317
  • 2
  • 16
1 2 3
8
9