In the JSON data structure returned from the initial data fetch made by DataTables include an options object which has a property called contacts[].contactID. That should contain the values you want.
This example uses select but the same should apply for selectize. Specifically look at the Ajax load tab to see what data has been loaded - right at the bottom you'll see the options.
The problem is that when I do not use selectize but a simple select it does work as expected. However when I use selectize the data is not loaded but shows like whats in this image: http://www.imageno.com/m9ybqzez9u7hpic.html
Answers
In the JSON data structure returned from the initial data fetch made by DataTables include an
options
object which has a property calledcontacts[].contactID
. That should contain the values you want.This example uses
select
but the same should apply forselectize
. Specifically look at the Ajax load tab to see what data has been loaded - right at the bottom you'll see the options.Allan
Allan,
Yes I am seeing that there is an:
```js
```
The problem is that when I do not use selectize but a simple select it does work as expected. However when I use selectize the data is not loaded but shows like whats in this image: http://www.imageno.com/m9ybqzez9u7hpic.html
That's really odd - are you able to give me a link to the page so I can debug it please? That looks like it should work to me.
Thanks,
Allan