Add columns to drop-down list

eugzl

27-03-2018

Hi All.

Ordinary drop-down list has 2 columns (Value and Text). My question is. Is possible create Drop-down list with more than 2 columns list? For instance, Value and some Text columns. If yes. How to create it?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

_Bruce_Robertson

MVP

02-04-2018

Hi,

I think the closest you are going to get is using the tab character in a drop down display value.  The tab stops are set at 8 characters and I haven't found a way of changing that.  Depending on the values you also might need to use a fixed width font.

But if you data is simple enough then it might work.  Here is a sample  https://sites.google.com/site/livecycledesignercookbooks/home/TwoColumnDropDown.pdf?attredirects=0&d...

The code in the initialization event is;

this.setItems("AL\tAlbania,008,DZ\tAlgeria,012,AS\tAmerican Samoa,016,AD\tAndorra,020", 2)

Regards

Bruce

Answers (0)