Veluelist managment

Questions, tips and tricks and techniques for scripting in Servoy

Veluelist managment

Postby marco.rossi » Tue Nov 22, 2016 12:04 pm

Hi all,

I need to use a valuelist with more than 500 items to let the user to get suggestion on data just typing on the textfield.
Does exist a property to set this?

thanks

Marco
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 37
Joined: Sun Apr 12, 2015 9:33 pm

Re: Veluelist managment

Postby patrick » Tue Nov 22, 2016 12:05 pm

Use a typeahead field. Once the user starts typing, it will filter entries according to what is typed.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3605
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Veluelist managment

Postby marco.rossi » Wed Nov 23, 2016 11:32 am

Thank you for your reply Patrick.

I'm already using typeahead field but my problem is that to get the "suggestion", a valuelist has to be linked to the field
and this valuelist has more than 500 entries. Because of that, I get a truncated list.
message.png
message.png (7.49 KiB) Viewed 1035 times


Does the valuelist reload its occurrences while the user is typing according on what is entered on the typeahead?
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 37
Joined: Sun Apr 12, 2015 9:33 pm

Re: Veluelist managment

Postby patrick » Wed Nov 23, 2016 11:37 am

you get that warning for any value list, but a type ahead reloads the list every time the user types a letter. That's the whole point of it ;-).
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3605
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Veluelist managment

Postby rgansevles » Sat Nov 26, 2016 6:12 pm

There is also a ui property you use to increase the limit to max 1000 UICONSTANTS-VALUELIST_MAX_ROWS

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1841
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Veluelist managment

Postby marco.rossi » Mon Nov 28, 2016 8:21 pm

Patrick, Rob, thank you both for your answer.
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 37
Joined: Sun Apr 12, 2015 9:33 pm


Return to Methods

Who is online

Users browsing this forum: No registered users and 5 guests