Skip to content

Update keyField/data props Documentation #1362

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

Merged
merged 1 commit into from
May 17, 2020

Conversation

michaelPotter
Copy link
Contributor

I added more info to the descriptions of the keyField and data props of
the Table component. I also added an example of what these properties
might look like for a sample dataset.

I couldn't find any info in the documentation about how the data should be formatted or what that should look like (I found a medium post that explained it well), and I had to read the source code to understand what the keyField was for. I think having better descriptions of these props in the documentation will be helpful to users.

I added more info to the descriptions of the keyField and data props of
the Table component. I also added an example of what these properties
might look like for a sample dataset.

I had trouble figuring these out, and had to find a medium post about
this library to understand how the input data should be formatted, and I
had to read the source code to understand what the keyField was for. I
think having better descriptions of these props will be helpful to
users.
@AllenFang AllenFang changed the base branch from master to develop May 17, 2020 07:12
@AllenFang
Copy link
Member

thank u boss

@AllenFang AllenFang merged commit e7de262 into react-bootstrap-table:develop May 17, 2020
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

Successfully merging this pull request may close these issues.

2 participants