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

pivot() doesn't support rendererName #451

Closed
PhantomYdn opened this issue Mar 12, 2016 · 3 comments
Closed

pivot() doesn't support rendererName #451

PhantomYdn opened this issue Mar 12, 2016 · 3 comments

Comments

@PhantomYdn
Copy link

It looks strange that pivotUI() do support rendererName as parameter, but pivot() do not. So prepared configuration from pivotUI() can't be used for pivot()

@nicolaskruchten
Copy link
Owner

This is by design: these two functions have different behaviours and different parameters.

@PhantomYdn
Copy link
Author

I see. I work-arounded that by this: https://github.com/OrienteerDW/Orienteer/blob/master/orienteer-pivottable/src/main/resources/org/orienteer/pivottable/component/pivottable.tmpl.js

I understand that you want to keep functionality wide, but from user perspective it might look strange, because pivotUI() can be used as editor for configuration which then should be used by pivot().
Example of usage: http://demo.orienteer.org/browse/DemoPivotTable
Just click small cogwheel on right-top side.

@nicolaskruchten
Copy link
Owner

The way you've implemented it is pretty much the way I would do it :)

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

2 participants