How to configure DropDown Compoment Correctly?

#1

Hi,

I am using radzen 2.17.2 running on Mac OS X 10.13.6. The radzen license is "Community Edition". At the stage of loading page, I use httpClient to get my result set from my server.

This type of result set is "Array".

I set this result set ${dataobject} on DropDown compoment.

There are -->

  1. TextProperty
  2. ValueProperty
  3. Value
  4. Data
  5. Visable

I can not see "Drop Down" working correctly.

Can someone knwo how I can configure it correctly ? I need the assistance to solve this issue.

Thanks,

Paul Wang

0 Likes

#2

Hi Paul,

Here is how it looks typically DropDown component bound to Orders (again array of objects) from our Sample database:

  • Data is how you pass the array of objects to the DropDown
  • TextProperty is the property name from your object which will be used to display in the DropDown list.
  • ValueProperty is the property name from your object which will be used internally to store list values.
  • Value is the two-way bindable property for storing selected value.

More info here:

Best Regards,
Vladimir

0 Likes

#3

Hi Vladimir,

Thanks for your explanation. My issue is solved.

Regards,

Paul Wang

0 Likes