as patrizio said, check out the show case, there u'll find how to.

regards,
_____________________
Ing. Gabriel Gutiérrez
Celular: +52 1 81 1071 7213
Oficina: +52    81 8153 2415
Monterrey, México


On Wed, Apr 8, 2009 at 8:15 AM, Naiden Gochev <[email protected]> wrote:

> 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