User input from a list

Stimulsoft Reports.WEB discussion
Post Reply
julianc
Posts: 2
Joined: Thu Jul 13, 2017 5:00 am

User input from a list

Post by julianc »

The old flash version used to show user input from a DB list as a HTML <select>, recently updated to the JS version but now the lists are shown as an input box that stores the ID, I need to send the ID but for the user I need him to just see the "human readable" name.


Flash:
Capture.PNG
Capture.PNG (14.54 KiB) Viewed 904 times
Js:
Capture2.PNG
Capture2.PNG (4.95 KiB) Viewed 904 times
How to make the Js version behave like the flash one?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: User input from a list

Post by Alex K. »

Hello,

You can set the Keys property as ID and Values as Name. In this case, in open ComboBox will show names and in the filter will be used ID.

Thank you.
Attachments
Capture.PNG
Capture.PNG (20.17 KiB) Viewed 897 times
Post Reply