PDA

View Full Version : loadRecord() causes form combos to send text value not id



ody
25 May 2010, 4:07 AM
I have a simple grid that loads records into a form. However when a record is loaded into the form combos from the grid and then saved the combo value is the text value not the id. If I click the combos with or without changing the selection they select their relevant ids.

I would expect that the text value is used to figure out the relevant id as the grid would only contain the text value and not the id..

I'm using local array stores for the combos.

Any ideas / help would be greatly appreciated.

cheers!
ody

ody
6 Sep 2010, 6:35 AM
I figured this out and wrote up on the solution here (http://blog.andrewrose.co.uk/2010/05/extjs-loading-grid-record-into-form.html).