PDA

View Full Version : How to display a hierarchy in a combo box?



marxan
11 Nov 2010, 7:28 AM
Hello,

I'd like to display in my combobox this :




LEVEL 1
LEVEL 1.1
LEVEL 1.2
LEVEL 1.2.1
LEVEL 1.3
LEVEL 2
LEVEL 2.1
and so on...

I've tried to do it by inserting   in the name to display. It works when I first select the combo but when I select a value, it displays: &nbp;LEVEL 1.1

Is there any option to configure this mechanism?

Thanks in advance.

fathani
17 Jun 2013, 9:30 PM
did you got this ? if yes then please let me noe how did you managed to do that

marxan
18 Jun 2013, 7:14 AM
I did a recursive function and added '---' each time I went down on a level when I created the json.