I have already a few stores instanciated. But at a certain point, I'd to add a HTTP header in all of them. How can I do that, with ExtJS 4 ?
Assuming that you are using an ajax proxy, you could update the headers
property on the stores in question. Looking at the code it'll apply whatever is in there as the headers.
A more involved solution would involve overriding the doRequest
function to do whatever suited you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With