V
V
Vit2013-12-17 16:04:04
JavaScript
Vit, 2013-12-17 16:04:04

Dynamic ajax-store for combobox in ExtJS 4

A question. There is a form on ExtJS 4 (namely 4.1.), which has a lot of comboboxes. Lists of options for these comboboxes are requested from the server. The situation is complicated by the fact that the content of comboboxes depends on the object for which we open this form. That is, the link by which you can get the data for the combobox from the server becomes known to me only immediately before opening the form. Moreover, with subsequent openings of the form, this link may become different, and I don’t know in advance which one. There can be countless options.
Connoisseurs of ExtJS, please tell me how this can be done.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vit, 2013-12-17
@fornit1917

It turned out to be done like this: in the onShow function, I set the form at the store of comboboxes with the extraParams I need. It seems to work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question