Nov 16, 2012, 11:35 AM
[CLOSED] Combobox with a store proxy load on expand
Hi,
Like in Title I have made that but now I have problem because it's display only Id on begin (before load store by proxy).
Is there any way to load only 1 item if(there is some id already exist in my object)?
My object are loaded on load of edit form. So can I insert there pair value like (Name=valuefrommyobject, Id=valueofmyobject) without reloading store?
I need that functionality to make huge performance:)
I found that I can make this like in sample below in theory:
Thanks,
ViDom
Like in Title I have made that but now I have problem because it's display only Id on begin (before load store by proxy).
Is there any way to load only 1 item if(there is some id already exist in my object)?
My object are loaded on load of edit form. So can I insert there pair value like (Name=valuefrommyobject, Id=valueofmyobject) without reloading store?
I need that functionality to make huge performance:)
I found that I can make this like in sample below in theory:
Combobox combo = new Combobox();
//configure store and jsonreader
combo.GetStore().Set("Text to display", 1); //but it's make js error in browser says ReferenceError: invalid assignment left-hand side
mb it should be done differently?Thanks,
ViDom
Last edited by Daniil; Nov 22, 2012 at 2:42 PM.
Reason: [CLOSED]