What steps will reproduce the problem?
1. use "custom wheels" and the formatResult() event.
Like this, (I've also attached the demo, modified to show it...)
var group = {};
var wheels = [group];
for (var i = 1; i < 4; i++) {
var wheel = {};
for (var j = 0; j < 100; j++) {
wheel[j] = (j % 5 + 1);
}
group['Fruit ' + i] = wheel;
}
$('#custom').scroller({
width: 90,
wheels: wheels,
formatResult:function(){
return 'a fruit';
}
});
What is the expected output? What do you see instead?
Expected have the wheels start at the set value, instead they start at the
beginning of the wheel (lowest value).
What version of the product are you using? On what operating system?
Mac - FF8, Chrome, Android
MobiScroll 1.5.2
You guys ROCK, this really great!
Original issue reported on code.google.com by zachary....@gmail.com on 8 Dec 2011 at 12:12
Original issue reported on code.google.com by
zachary....@gmail.com
on 8 Dec 2011 at 12:12Attachments: