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

Columns and data are in the same functional component as the DataTable definition; does not work #18

Open
gmarshall56 opened this issue Mar 29, 2021 · 0 comments

Comments

@gmarshall56
Copy link

Hello: For this to work do the column definitions and the data have to be defined and exported from a separate javascript file? The DataTableExtensions does not work in my react functional component where I have the columns and the data defined in. With this configuration I get an empty table displayed.
Do you have a sample of how this would work if the columns and data arrays are defined in the same react javascript file that the <DataTable.... is defined?
Thank you

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

1 participant