valuelist manipulation

Questions and answers for designing and implementing forms in Servoy

valuelist manipulation

Postby dosida » Tue Jan 24, 2017 8:00 pm

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.
dosida
 
Posts: 1
Joined: Fri Jan 20, 2017 9:23 pm

Re: valuelist manipulation

Postby jdbruijn » Tue Jan 24, 2017 10:03 pm

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.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm


Return to Forms

Who is online

Users browsing this forum: No registered users and 2 guests