I am using JQuery HandsonTable. It uses twitter bootstrap typeahead 2.0 which supports data-source as an array for auto-complete
,
["BMW", "Chrysler", "Nissan", "Suzuki"]
My requirement is to pass it a hash instead of array.
[{value:1, name:"BMW"}, {value:2, name:"Chrysler"}, {value:3, name:"Nissan"}, {value:4, name:"Suzuki"}]
.
There is a newer version available for typeahead but I could'nt get it working with Handsontable.