Skip to content
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

Tailwind: Under DataTable theming props.frozenRow but are not DataTableProps #5288

Closed
Dalorzo opened this issue Nov 11, 2023 · 4 comments · Fixed by #5289 or #5293
Closed

Tailwind: Under DataTable theming props.frozenRow but are not DataTableProps #5288

Dalorzo opened this issue Nov 11, 2023 · 4 comments · Fixed by #5289 or #5293
Assignees
Labels
Component: Tailwind Tailwind specific issue Typescript Issue or pull request is *only* related to TypeScript definition
Milestone

Comments

@Dalorzo
Copy link
Contributor

Dalorzo commented Nov 11, 2023

Describe the bug

Under DataTable theming

  • props.frozenRow

Are not part of DataTableProps therefore cannot be used.

Reproducer

No response

PrimeReact version

10.0.9

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

Should part of ColumnProps

  • props.showGridlines and
  • props.frozenRow
@Dalorzo Dalorzo added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 11, 2023
@melloware
Copy link
Member

Wait but they are datatable props not column props?

@Dalorzo
Copy link
Contributor Author

Dalorzo commented Nov 11, 2023

image

@melloware
Copy link
Member

Sorry please start tickets like this with Tailwind: so I know it's tailwind related!

Do you want to submit a PR?

@melloware melloware added Component: Tailwind Tailwind specific issue and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 11, 2023
@melloware melloware added this to the 10.0.10 milestone Nov 11, 2023
@melloware melloware changed the title Under DataTable theming props.showGridlines and props.frozenRow but are not ColumnProps Tailwind: Under DataTable theming props.showGridlines and props.frozenRow but are not ColumnProps Nov 11, 2023
@Dalorzo Dalorzo changed the title Tailwind: Under DataTable theming props.showGridlines and props.frozenRow but are not ColumnProps Tailwind: Under DataTable theming props.frozenRow but are not DataTableProps Nov 11, 2023
Dalorzo added a commit to Dalorzo/primereact that referenced this issue Nov 11, 2023
Dalorzo added a commit to Dalorzo/primereact that referenced this issue Nov 11, 2023
@melloware melloware linked a pull request Nov 12, 2023 that will close this issue
melloware added a commit to melloware/primereact that referenced this issue Nov 12, 2023
melloware added a commit that referenced this issue Nov 12, 2023
@melloware melloware reopened this Nov 12, 2023
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 12, 2023
@melloware
Copy link
Member

melloware commented Nov 12, 2023

Reverted this. frozenRow is not a public variable so thus its not exposed in the TypeScript.

Frozen Table:

Non Frozen Table:

@melloware melloware removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 12, 2023
@melloware melloware removed this from the 10.0.10 milestone Nov 12, 2023
melloware added a commit to melloware/primereact that referenced this issue Nov 12, 2023
melloware added a commit to melloware/primereact that referenced this issue Nov 12, 2023
melloware added a commit to melloware/primereact that referenced this issue Nov 12, 2023
@melloware melloware added the Typescript Issue or pull request is *only* related to TypeScript definition label Nov 12, 2023
@melloware melloware added this to the 10.0.10 milestone Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Tailwind Tailwind specific issue Typescript Issue or pull request is *only* related to TypeScript definition
Projects
None yet
2 participants