Hey guys,
I’m wondering how one can manipulate a value list through code.
Are there any examples around? If so please point me to the right direction.
Thanks in advance.
Hey guys,
I’m wondering how one can manipulate a value list through code.
Are there any examples around? If so please point me to the right direction.
Thanks in advance.
Welcome to the Servoy Community.
You can get all this information from the Servoy Wiki.
Take a look at these urls:
https://wiki.servoy.com/display/public/DOCS/Application#Application-getValueListArray(name) to get the valuelist items as an array
and
https://wiki.servoy.com/display/public/DOCS/Application#Application-setValueListItems(name,dataset) to create a valuelist from a dataset
There are also some code examples in the wiki for this.