Jan 23, 2012, 1:39 PM
[CLOSED] Display Text on Remote Combo
Hi,
I have three ajax-linked combos that store an ID mapped to status fields in my database (three tables). When I'm creating a new record, it's no problem, as the stores are loaded as needed and this works as I'd expect.
If I open an existing record though, where I have some ID's already, and I want to show the status text (instead of the number) in the combo.. I of course have the issue that my store is not loaded yet (as it is set to load when queried).
Is there any way around this? I don't necessarily want to load all the data up-front for existing records. Could I set that actual display text and the value? I can send both down if needed, and only load the full store data if someone wanted to change a value.
Thanks.
I have three ajax-linked combos that store an ID mapped to status fields in my database (three tables). When I'm creating a new record, it's no problem, as the stores are loaded as needed and this works as I'd expect.
If I open an existing record though, where I have some ID's already, and I want to show the status text (instead of the number) in the combo.. I of course have the issue that my store is not loaded yet (as it is set to load when queried).
Is there any way around this? I don't necessarily want to load all the data up-front for existing records. Could I set that actual display text and the value? I can send both down if needed, and only load the full store data if someone wanted to change a value.
Thanks.
Last edited by Daniil; Jan 24, 2012 at 3:42 PM.
Reason: [CLOSED]