Skip to content

Pagination row per page show double arrow/weird arrow #1157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Adtyya opened this issue Aug 28, 2023 · 9 comments
Open

Pagination row per page show double arrow/weird arrow #1157

Adtyya opened this issue Aug 28, 2023 · 9 comments

Comments

@Adtyya
Copy link

Adtyya commented Aug 28, 2023

image

See at rows per page number, it has two arrow.

Tailwindcss ^3.3.3
React & ReactDOM ^18.2.0
Create this app using CRA

@zahir-dct
Copy link

code?

@Adtyya
Copy link
Author

Adtyya commented Aug 29, 2023

  <DataTable
    columns={columns}
    data={data}
    progressPending={loading}
    pagination
    paginationServer
    paginationTotalRows={totalRows}
    onChangeRowsPerPage={handlePerRowsChange}
    onChangePage={handlePageChange}
    paginationComponentOptions={paginationComponentOptions}
    customStyles={tableCustomStyles}
    paginationPerPage={10}
    progressComponent={<Loading />}
  />

@zahir-dct
Copy link

paginationComponentOptions and tableCustomStyles??

@ipacs13
Copy link

ipacs13 commented Sep 14, 2023

@zahir-dct I am also facing this on the project I am working.

this is how it looks like:

image

I wanted to remove the solid arrow one and retain the 2-line arrow.

Thank you in advance :)

THis is my code:

            customStyles={{
                headCells: {
                    style: {
                        fontWeight: "bold",
                        backgroundColor: "#F4F9FF",
                    },
                },
            }}
            {...props}
            columns={props.loading ? columnsLoading : props.columns}
            data={props.loading ? Array(8).fill({}) : props?.data || []}
            className="pb-12"
            paginationRowsPerPageOptions={[10, 20, 30]}
            responsive
        />

@mesamtimmar1
Copy link

I'm facing the same issue. Have you been able to resolve it?

@memmen
Copy link

memmen commented Apr 8, 2024

Having the same issue on many projects.

@memmen
Copy link

memmen commented Apr 8, 2024

I created pr with fix
#1224

@muhismail015
Copy link

muhismail015 commented Mar 18, 2025

on version "^7.7.0", still have a weird arrow, how to solve this ?

*edit: i think because we use tailwindcss, trying to remove using css solve the temporary problem if u dont want to custom it

.rdt_Pagination select + svg {
  display: none !important;
}

@nestorzamili
Copy link

on version "^7.7.0", still have a weird arrow, how to solve this ?

*edit: i think because we use tailwindcss, trying to remove using css solve the temporary problem if u dont want to custom it

.rdt_Pagination select + svg {
display: none !important;
}

This fix worked for me, thanks!

@ibobdb seems like this is the same issue you’re dealing with. Give this fix a shot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants