Steps to reproduce:
JavaScriptwindow.ReportingCustomization = {
//passing headers with jQuery AJAX
onBeforeRender: function (s, e) {
//e.dx.Analytics.Utils.fetchSetup.fetchSettings = { headers: { HEADER1: 'VALUE1' } };
e.dx.Analytics.Utils.ajaxSetup.ajaxSettings = { headers: { HEADER1: 'VALUE1' } };
}
}
Code<DxWasmReportDesigner ReportName="TestReport" Height="calc(100vh - 130px)" Width="100%">
<DxReportDesignerCallbacks BeforeRender="ReportingCustomization.onBeforeRender" />
Expected results:
GetDesignerModelAction contains the specified HEADER1
Current results:
GetDesignerModelAction does not contain the specified HEADER1
as the BeforeRender
callback is called first. An additional way of passing header parameters is required.