Hello
I'm using an external api for my grid datasource, for authorization I'm using this solution:
https://www.telerik.com/forums/asp-net-core-custom-datasource-pass-bearer-token
and is working fine for read event.
$(() => {
var grid = $("#grid").data("kendoGrid");
grid.dataSource.transport.options.read.beforeSend = beforeSendHandler;
});
But unfortunately is not working in Excel Export option, apparently is creating a new web request that doesn't follow the beforeRequest function flow.
Is it possible to add the header to the export request or should I create be a custom action?
Greetings