concatenate in dropdown list

concatenate in dropdown list

sanderksanderk Posts: 26Questions: 4Answers: 1

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

Answers

  • allanallan Posts: 61,627Questions: 1Answers: 10,090 Site admin
    Answer ✓

    Yes, pass the Label parameter as an array with the two columns you want - see the docs here.

    Allan

  • sanderksanderk Posts: 26Questions: 4Answers: 1

    Thanks

This discussion has been closed.