Copy link to clipboard
Copied
OK CF'ers I need help.
I have a select within a grid (see below):
Initial grid displays like I want: Select 1
Problem:
When I activate the dropdown I see the id value for this select instead of the display value.
When the grids select is active I see '1' (ID Value) instead of 'Select 1'.
I want the grid select to work like a normal cfselect and have the display value be the name and have the value be the value ID. Is that possible?
Thanks in advance!
-David
Copy link to clipboard
Copied
hmmm, probably you should change the values for the properties "values" und "valuesdisplay"!
For the property "valuesdisplay" you use "getClass.ship_class_id". This is the ID, or am I wrong? Instead use "getClass.ship_class" for "valuesdisplay" and "getClass.ship_class_id" for "values".