Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

How can I append custom headers like "Authorization" in server export() method? 

I cannot find how to achieve this and it looks Grid's DataManager settings (headers) are ignored


Sample with JS1:

let gridObj = $('#GridDataManage').ejGrid('instance');
gridObj.export(url, true);

How to append 

'Authorization', 'Bearer XXXX'

header?

Thank you

Please let me know if there is any doc reference about that.

JS1 doc

https://help.syncfusion.com/angular/grid/exporting

EJ2 doc