-
13 Apr 2012 4:18 PM #1
Answered: Iteminfo interaction not working
Answered: Iteminfo interaction not working
Hello,
I am trying to use the 'iteminfo' interaction on my chart, which worked in 1.0, and now with 2.0 nothing is happening. Here is my interaction definition:
Thanks in advance!Code:interactions: [ { type: 'iteminfo', gesture: 'taphold', listeners: { show: function(interaction, item, panel) { var storeItem = item.storeItem; panel.update( [ "<ul><li><strong>Month: </strong>" + storeItem.get('month') + "</li>", "<li><strong>Value: </strong>" + item.value[1] + "</li></ul>" ].join('') ); } } } ]
-
Best Answer Posted by mitchellsimoens
Try longpress instead of taphold.
-
16 Apr 2012 6:36 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 435
- Answers
- 3102
Try longpress instead of taphold.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
16 Apr 2012 10:25 AM #3
Thanks! This in combination with changing my update() call to setHtml() did the trick.


Reply With Quote