This is a migrated thread and some comments may be shown as answers.

ComboBox custom "dataTextField" ?

1 Answer 194 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Placinta
Top achievements
Rank 1
Placinta asked on 14 Feb 2012, 03:20 PM
Is there a posibility to declare a template for dataTextField after i choose an element from combobox?
I have a JSON that has 2 elements, LastName and FirstName. When i select a person, i wanna show it in input the LastName and FirstName merged, not one of them.
Is this possible?

1 Answer, 1 is accepted

Sort by
0
Placinta
Top achievements
Rank 1
answered on 14 Feb 2012, 04:38 PM
[SOLVED]
I managed solving this by modifying the JSON and concatenate "FirstName" with "LastName" into "FirstLastName" and used this as "dataTextField".
My JSON data was generated by php and i managed to do this modification!
Hope somebody will need this!
Tags
ComboBox
Asked by
Placinta
Top achievements
Rank 1
Answers by
Placinta
Top achievements
Rank 1
Share this question
or