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

loadingBody type is different to Documentation #1111

Closed
tom-son opened this issue Dec 3, 2019 · 1 comment
Closed

loadingBody type is different to Documentation #1111

tom-son opened this issue Dec 3, 2019 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@tom-son
Copy link

tom-son commented Dec 3, 2019

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.

https://codesandbox.io/s/primereact-test-pzm3j

Current behavior
Console.log: "Warning: Failed prop type: Invalid prop loadingBody of type object supplied to Column, expected function."

Expected behavior
To work without prop type warning.

Column property documentation says loadingBody is of type any.

https://www.primefaces.org/primereact/#/datatable

@cagataycivici cagataycivici self-assigned this Mar 12, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a defect related to a specific component. label Mar 12, 2020
@cagataycivici cagataycivici added this to the 4.1.1 milestone Mar 12, 2020
@cagataycivici
Copy link
Member

Fixed the docs, it should be a function to return the body content of the column to display when virtual scroll loads the new data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants