concatenate in dropdown list
concatenate in dropdown list

Is it possible to concatenate two fields, server side for a drop down list?
.Field(new Field("Participanten.ParticipantPersoonId")
.Options(new Options()
.Table("ParticipantPersonen")
.Value("Id")
.Label("ParticipantPersonen.Voornaam" + " " + "ParticipantPersonen.Achternaam")
)
The label doesn't work right now with this code. Is there a solution for this?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, pass the
Label
parameter as an array with the two columns you want - see the docs here.Allan
Thanks