$("#viewer").ejReportViewer({
toolbarSettings:{
items: ej.ReportViewer.ToolbarItems.All &
~ej.ReportViewer.ToolbarItems.Parameters
}
});
It makes that the whole toolbar and parameters disappear, however, I'd like to hide only the parameter so the costumers could click on the buttom parameters when they need to redender the report again without having to leave the report.
I'd be very grateful with you if you could help me.
Thank you very much
Regards,
Daniel Pujante
| public void OnInitReportOptions(ReportViewerOptions reportOption) { Syncfusion.RDL.DOM.ReportDefinition reportDefinition = this.DeSerializeReport(reportOption.ReportModel.ReportPath); foreach (var param in reportDefinition.ReportParameters) { if (param.Name == "HiddenParam") { param.Hidden = true; } } reportOption.ReportModel.Stream = GetStream(reportDefinition); reportOption.ReportModel.ReportPath = string.Empty; } |