Hello
I have a comboBox showed in a grid.
Each row have comboBox
eachCombo have value and hiddenValue for example name and ID
ColumnConfig vendorCol = new ColumnConfig("Vendor Name", "vendor", 150,
true);

        ComboBox vendorCombo=new ComboBox();

        VendorsStore vendorsStore=new VendorsStore();
        vendorsStore.refreshStore();

        Store extJsVendorStore= vendorsStore.getStore();

        vendorCombo.setEmptyText("Select a vendor...");
        vendorCombo.setSelectOnFocus(true);

        vendorCombo.setTriggerAction(ComboBox.ALL);
        vendorCombo.setHiddenName("id");
        vendorCombo.setStore(extJsVendorStore);
        vendorCombo.setDisplayField("name");

the problem is that when I click SAVE i have a store for lets say Systems
so each system have a vendor right ?
so how can i get the hidden value in the store ?
for example if I have RecordDef which contains "vendor"
if I make
record.getAsString("vendor") it gives me the name of the vendor ( the value
) not the hidden value

How can i get the hidden value  ? any ideas ?

I am not very familiar with extGWT so sorry if my question is very easy and
obvious

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to