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

Best way to drag-and-drop dimensions on touch/mobile devices? #330

Closed
thatpaulschofield opened this issue May 10, 2015 · 2 comments
Closed

Comments

@thatpaulschofield
Copy link

What is the recommend way to get drag-and-drop on the dimensions/axes on touch devices (mobile phones/tablets)?

@nicolaskruchten
Copy link
Owner

If you check out this example: http://nicolas.kruchten.com/pivottable/examples/fully_loaded.html on a mobile device, it should work. All that I did there was add a reference to jQuery UI Touch Punch (http://touchpunch.furf.com/) with this line:

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>

@thatpaulschofield
Copy link
Author

Works brilliantly! Thanks Nicolas.

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