I followed this thread to modify the headers in ejReportViewer: https://www.syncfusion.com/forums/119064/can-ejreportviewers-post-header-be-modified. The PostReportAction worked fine the first time but the second time it failed on the second line, proxy.data is undefined:
var proxy = $('#viewer')
var proxyData = proxy.data('ejReportViewer');
If I remove my required header from the API and not override the doAjaxPost the report works fine and calls PostReportAction 6 times total. I've got the doAjaxPost within an angular controller if that matters.
SRSoundara Rajan S Syncfusion Team October 29, 2015 10:48 AM UTC
Thanks for contacting Syncfusion support.
We are unable to reproduce the mentioned issue at our end and its working fine. The mentioned issue might have occurred due to accessing of DOM element (var proxy = $('#viewer')) before loading viewer tag in your application. So, please ensure the tag access after DOM element loaded completion. However, we have prepared a angular sample with AJAX override that can be downloaded from the below location, http://www.syncfusion.com/downloads/support/forum/120942/ze/AngularDemo315102229.zip