PDA

View Full Version : Getting Combobox's value field which is selected.



pankajspace
23 Jul 2009, 2:33 AM
Hello,

Friends . I want to get the valueField of the selected item in Combobox. But when I use cmbObjects.getValue() It gives me the value of the displayField. How to solve this. My combobox is in tbar of the grid.

Thanks in Advance,
Pankaj.

danguba
23 Jul 2009, 3:23 AM
Hello,

Friends . I want to get the valueField of the selected item in Combobox. But when I use cmbObjects.getValue() It gives me the value of the displayField. How to solve this. My combobox is in tbar of the grid.

Thanks in Advance,
Pankaj.

Can you paste some code?

Condor
23 Jul 2009, 3:45 AM
Did you give your combobox a hiddenName?