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

Export value as integer. #1613

Closed
olaputin opened this issue Sep 12, 2017 · 4 comments
Closed

Export value as integer. #1613

olaputin opened this issue Sep 12, 2017 · 4 comments

Comments

@olaputin
Copy link

Now I have table with 3 columns with types:
string, integer, integer, (example of values: Pre-Test | 3 | 100)

And after export I have the following values in .csv file:
"Pre-Test:","3","100"

Are there any way to get something like this:
"Pre-Test:",3,100

Thanks in advance.

@AllenFang
Copy link
Owner

I will support this enhancement, thanks

@AllenFang
Copy link
Owner

HI @olaputin this fixed on v4.0.5 and you can add csvFieldType='number' on TableHeaderColumn to specify the type of column when exporting csv. thanks

@olaputin
Copy link
Author

Thanks a lot. I appreciate your efforts and this library well.

@AllenFang
Copy link
Owner

BTW, react-bootstrap-table2 already in development, feel free to ask any useful feature :) I hope most of user can switch to react-bootstrap-table finally. But we still have a long road need to walk.

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

No branches or pull requests

2 participants