I have an array of objects that is provided from a WebService (the order of the list is important). I loaded the JSON object into a Selectize control but it re-orders the list without using the order of the object.
This is the link of the current problem.
$('#testSelect').selectize({
maxItems: 1,
valueField: 'Id',
labelField: 'Descripcion',
searchField: 'Descripcion',
options: data
});
Fiddle here: http://jsfiddle.net/LYYab/
I have disabled the 'sortField' but it doesn't work.
Any help would be greatly appreciated.
Thanks.