Add columns to drop-down list

Avatar

Avatar
Validate 10
Level 2
eugzl
Level 2

Likes

5 likes

Total Posts

171 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 2
eugzl
Level 2

Likes

5 likes

Total Posts

171 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
eugzl
Level 2

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)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_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)