View Full Version : Using List element for numeric values?

15 Sep 2010, 3:24 PM
I am trying to use List element with index bar for numeric values.
I have modified the index bar as follows:

indexBar: {letters: ['1','50', '100','150', '200','250', '300','350', '400', '450','500','550', '600','650', '700','750', '800','850', '900', '950','999']}

Everything works fine except the sorting.
I have tried to modify the datastore with :

fields: [{name:'vc', type: 'int'}]

with hopes that it will fix the issue, but that did not work. There is a javascript error:

Uncaught TypeError: Cannot call method 'toLowerCase' of undefined

Any advice?