Search code examples
javascriptextjsstoreextjs6extjs6-modern

How do I change the separator of extraParams in an ExtJS store proxy?


I'm stuck with a problem related to the extraParams of an ExtJS store.. I need to change the default params separator & to a customized ; since the web service I'm accessing doesn't respond to &.

Is there a way to change the separator?

Bests, Andreas


Solution

  • I found a workaround on the Sencha forums:

    yourStore.proxy.url = 'your/url/' + yourParameter + ';.....';
    

    With this line, before loading the store, it's possible to go around the extraParams and still pass them directly to the used proxy using the url field.