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

Added optional customExport function to FeatureGrid #1284

Merged
merged 2 commits into from
Nov 17, 2016

Conversation

kappu72
Copy link
Contributor

@kappu72 kappu72 commented Nov 17, 2016

No description provided.

if (this.props.exportAction) {
this.props.exportAction();
} else {
this.api.exportDataAsCsv();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we set this as a default property and simplify this code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.005%) to 79.958% when pulling 82c0b93 on kappu72:ftGridCustomExport into 6234225 on geosolutions-it:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.005%) to 79.958% when pulling f3e4581 on kappu72:ftGridCustomExport into 6234225 on geosolutions-it:master.

@mbarto mbarto merged commit 3b9bc2a into geosolutions-it:master Nov 17, 2016
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.

None yet

3 participants