Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

<DataTable // ... previous props keyField={'string_id'} paginationServer paginationServerOptions={{ persistSelectedOnSort: false, persistSelectedOnPageChange: true, }} /> when I use above code ...
Prasanna kulal's user avatar
0 votes
1 answer
63 views

Problem description I’m using the react-data-table-component-with-filter library to implement a table with column filters. However, when I type in the filter input of any column typing an existing ...
Gilillo's user avatar
  • 11
0 votes
0 answers
244 views

I use the react-data-table-component to display all my data. The built-in sort is great but when I accidentally click on it, I would find myself refreshing the page just to reset the sorting. I scour ...
Rob Julio's user avatar
1 vote
1 answer
317 views

I have stored currentPageIndex of 'react-data-table-component' using onChangePage={handlePageChange} and store the pageIndex in context. I want to retain the page index in my table when i come back to ...
Gopikrishnan S's user avatar
2 votes
1 answer
1k views

While I was updating my react-data-table-component package, I faced some console errors saying 'TypeError: t is not a function'. There doesn't seem any help available in the package docs or the ...
Adi Akhilesh Singh 5-Year IDD 's user avatar
0 votes
1 answer
481 views

Fist we have load react datatable with empty data after that will call api you get data based on filter and need to display all data so if change page size to all with empty data then it will give ...
Nidhi's user avatar
  • 1
0 votes
1 answer
273 views

I am creating a React demo and showing an error in react-data-table-component in datatable. please review the below code and share your comments. Show Error "Pt.slice is not a function" in ...
Dhaval Patel's user avatar
0 votes
1 answer
207 views

I want to type this custom method for sorting in react-data-table-component custom component, I'm not sure what should be done in the selector: const customSort = (rows: IAlergia[], selector: any //...
Jorge F's user avatar
  • 693
0 votes
0 answers
1k views

I'm looking at customizing the header 'select all' checkbox in react-data-table-component. <DataTable /> I'm using React 16.14 and using Class components. Goal: Adding a dropdown when the select ...
DanS's user avatar
  • 13
0 votes
0 answers
172 views

I am trying to add react-select dropdown with React-data-table-component. But it is cutting the attached screen short. Do you have any suggestions for this? Kamal
Hindu's user avatar
  • 2,924
2 votes
1 answer
2k views

I'm looking to enhance my DataTable in React by incorporating a search filter. I want users to be able to search for specific entries within the table. The goal is to allow users to easily search and ...
Les Jetskii's user avatar
3 votes
3 answers
5k views

I am using react-data-table-components and just following the instruction given by the documentation, but it's showing me an error (some of it is in text below): Error Below is the sample code I ...
RJM's user avatar
  • 31
3 votes
4 answers
7k views

I am using react data table component which requires me to install styled component. The moment i render the DataTable after passing the columns and data prop, I get various errors on my console ...
Nosarumen Imuentinyan's user avatar
2 votes
1 answer
2k views

I'm using 'react-data-table-components' and having simple code like that: import React, { useState } from "react"; import DataTable from "react-data-table-component"; const ...
Nghĩa Phạm's user avatar
0 votes
2 answers
1k views

Reactjs datatable component footer sum of column This my code and i want to add footer in datatable in which i have to show all columns sum. i have used react-data-table-component package for this ...
Gaurav Maharwal's user avatar
0 votes
1 answer
148 views

I'm using React Data Table and React Data Table Extension Components to display my data. The problem being faced is that the csv file exported through React-Data-Table-Extension Component is hardcoded ...
MT-Dev's user avatar
  • 59
0 votes
2 answers
5k views

I've written a ReactJS app, where I have list of data (JSON data) showed in table view. I've used "react-data-table-component" for that. It works fine, right now whenever the app launches it ...
Stella's user avatar
  • 1,878
0 votes
0 answers
558 views

Below I am calling API and getting data from these ,but the issue is I open or reload the page 1st no records to display shows then the data loads why?for time taking to get data from api i am showing ...
Noob_Mern_Dev's user avatar
2 votes
2 answers
1k views

I have a basic ReactJS component that uses react-query ("@tanstack/react-query": "^4.24.6") and "react-data-table-component": "^7.5.3". The data gets loaded, I ...
LNI's user avatar
  • 3,211
0 votes
1 answer
117 views

I am using bootstrap datatable in my React application function MyApp(){ const tableRef = useRef(null); const [tableSave, setTableSave] = useState(null) const [dataFromAPI, setDataFromAPI] = useState(...
Ghias Ali's user avatar
  • 427
1 vote
0 answers
917 views

I have a react parent component which is rendering a Table component which is react-data-table-component. The data is being fetched corrctly but there is pagination footer text problem. There are 26 ...
Twisam Stark's user avatar
1 vote
0 answers
471 views

I try this add style but it's not working add component fixedColumn similar but not working .rdt_TableHead .rdt_TableCol.fixed-left { position: sticky; left: 0; z-index: 1; } .rdt_TableBody ....
Yuki Onna's user avatar
0 votes
1 answer
582 views

I have DataTable of react-data-table-component data coming from backend have a color property for each row. I have to use that color. I tried with conditionalStyles and custom styles but didn't ...
umair mehmood's user avatar
0 votes
2 answers
5k views

I was writing a reactjs code and I use react-data-table-component, my table showed perfectly but i wanted to hide/show a column base on condition if true or false but I do not know where to write my ...
WizzyOlammie's user avatar
0 votes
1 answer
2k views

I'm trying to add a warning icon next to the data within a react-data-table-component field. There would be other another value driving this function that is not the selector listed in the field. The ...
norimicy's user avatar
0 votes
1 answer
583 views

need some help on this sir, I'm using react-data-table-component and react-data-table-component-extensions. also, I imported the index.css for the component-extension import DataTable from "react-...
Joseph Kyle Diel Mahasol's user avatar
0 votes
1 answer
1k views

I'm using react data table component i wanna use a radio button to select a row , i using checkbox how can i deactivate multiple select <Table data={data} ...
sokida's user avatar
  • 531
1 vote
1 answer
372 views

import React from "react"; import DataTable from 'react-data-table-component' export const Component = () =>{ const openDetailPopup = (row: Trip) => { router.push({ ...
Rahul M.V's user avatar
0 votes
2 answers
1k views

I wanted to create datatables with react-data-table-component, but the pagination keep generating the error: Error: Hydration failed because the initial UI does not match what was rendered on the ...
yeln's user avatar
  • 797
2 votes
0 answers
498 views

I use the react-data-table-component (along with the react-data-table-component-extensions library) for displaying various tables. I have a datatable where the sorting of any column works when I click ...
Nena's user avatar
  • 396
0 votes
1 answer
829 views

I am trying to create simple app to show data stored in Mongodb. I could get all the data and make it shown in the app. I want to set color in each cell of table when they meet certain condition. For ...
Sunwoo Kwak's user avatar
3 votes
1 answer
6k views

I'm trying to keep track of selected items by page. When I click next page I'm updating the "currentPage" state with "onChangePage" event of data table. Because "...
senerdude's user avatar
  • 118
1 vote
1 answer
140 views

I am a beginner in ReactJS. What I want is, I have a Component Datatable.js and I want to create three tables in that component by configuring data of a single JSON File and there should be only one ...
Rahul Upadhyay's user avatar
1 vote
1 answer
525 views

I want to give different background colors dynamically to rows of the react-data table,but can't find How to do that, I want this type of design, My table component is, import { Flex, ...
demi's user avatar
  • 37
0 votes
1 answer
3k views

Good afternoon! I have react-data-table-component I'm trying to create a column that will have action buttons (delete/edit...) To do this, in clickHandler I need to pass parameters from data, for ...
Sergo's user avatar
  • 111
1 vote
0 answers
1k views

I'm using the pagination from react-data-table-component. But it's unclickable although it's showing. Does anyone know how to fix it? return ( <div> <DataTable title="...
Jacky's user avatar
  • 49
0 votes
1 answer
4k views

Task: I would like to show a really big DataTable in UI which is horizontally and vertically is scrollable Issue: Cannot set scrolling on X axis UI cuts/hides down the first half of the table if ...
Szilágyi István's user avatar
0 votes
1 answer
2k views

Hello good people on the Internet. I am using react-data-table-component library and I want to output something when a row is expanded, when the first row is expanded it should should show this is row ...
louis's user avatar
  • 832
1 vote
0 answers
1k views

I'm having an issue in react-data-table-component where, after clicking on the column header to sort the rows, it fails to remain the same item getting clicked after sorting. See below. Once clicked, ...
rom's user avatar
  • 692
1 vote
1 answer
2k views

I am having a problem in react-data-table-component where the checkboxes in my datatable don't remain "checked". I do see there is indication the check occurred but not seeing it remaining ...
rom's user avatar
  • 692
0 votes
1 answer
1k views

How can I remove filter options from React Data Grids filters? For example when I do FilterEditior: SelectFilter it shows "Contains", "Does not contain", "Equal" etc but ...
ohvictah's user avatar
2 votes
1 answer
153 views

React Data overridden in Data table after filtering data Tech stack used: React typescript and GraphQL (apollo client). We have used react-data-table-component, mui/material. In this both modules ...
Purvesh Thakkar's user avatar
1 vote
2 answers
2k views

There is a problem in this library where if i used columns like this , the print and export button won't work and i get this error : Uncaught Error: selector must be a . delimted string eg (my....
Razor Jhon's user avatar
1 vote
1 answer
622 views

OK, so Im getting this error when trying to return some data from my web api. Ive tried all as suggested on other similar posts but cant get this working. Any help appreciated. Objects are not valid ...
kd12345's user avatar
  • 803
0 votes
1 answer
337 views

When making a request to my API from a component and using react-data-table-component everything works perfectly but if I try to make the request from my Product Provider the pagination is incorrect ...
OscarDev's user avatar
  • 977
0 votes
1 answer
3k views

I have created a Table using react-data-table-component and now I would like to make the table rows expandable such that when I expand a row it displays details specific to that row. I read the react-...
sokida's user avatar
  • 531
3 votes
1 answer
4k views

when i click on rank, location or deaths on top it used to sort the list before but now it doesn't work. The data you see is not all of the data i have used there is a few more that would just make ...
isabella-re's user avatar
1 vote
1 answer
6k views

I'm using react-data-table-component in my project to create a datatable. However, the checkboxes are appearing too large. After checking the docs, I found this page - Overidding Styling Using css-in-...
rom's user avatar
  • 692
1 vote
0 answers
998 views

I am using a react-data-table-component plugin to make the table. I am trying to create the data table for the following data, [ { "1.1 - 2.1 cm": 348.75, "2.1 - 3.1 ...
Tek Kshetri's user avatar
  • 2,407
2 votes
1 answer
896 views

As of now the prop expandableRows puts the icon in the left side, however I need to see the icon in right most of the table. Is there any way to do this? How to move expandableRows icon to the right ...
Madhavi N's user avatar