I would like to set a authorization token in the headers of the ajax call the grid makes to authenticate with an API i am using. How can i do this? I saw a solution which involves setting custom ajax request headers but this would add the authorization token for every jquery ajax request i make, which is undesirable.
I am using the following at the moment -
$.ajaxSetup({ headers: { 'Authorization': authorizatinToken } });
Hello Robert Al-Jaar,
Did you have a chance to try my suggestion? Did you manage to resolve your issue?
Best regards,Martin PavlovInfragistics, Inc.
yes it did thanks!