- Home
- Forum
- Report Platform
- Add Custom Item to Report Designer
If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.
For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.
Thank you for choosing Syncfusion� for your reporting needs.
For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.
Thank you for choosing Syncfusion� for your reporting needs.
Add Custom Item to Report Designer
Is there anyway to do something similar to the custom toolbar items in the report viewer?
I just want a Save and a Save As option, not anything to Device or Server. But I cannot find any documentation for this outside of ASP.NET which I do not want to do.
SIGN IN To post a reply.
4 Replies
AM
Arumugasami Murugesan
Syncfusion Team
November 17, 2021 03:23 PM UTC
Hi August,
Thanks for the update,
We will check and update the further details by November 18, 2021
Regards,
Arumugasami M
AM
Arumugasami Murugesan
Syncfusion Team
November 18, 2021 03:12 PM UTC
Hi August,
Please find the below steps to add the Add Custom Item to Report Designer
|
Step1: We have disable the report open and New buttons in toolbar using toolbar settings.
https://help.boldreports.com/javascript/report-designer/api-reference/properties/toolbarSettings/ Please refer the below Documents for your reference
|
|
Step2: You need to add the customize icon by referring the code snippet
$("#designer").boldReportDesigner({
toolbarSettings: {
items: ej.ReportDesigner.ToolbarItems.All & ~ej.ReportDesigner.ToolbarItems.Save
& ~ej.ReportDesigner.ToolbarItems.Open & ~ej.ReportDesigner.ToolbarItems.New
},
toolbarRendering: toolbarRendering,
toolbarClick: toolbarClick
}); |
|
Step2: To customize the save button for save report directly using toolbar rendering and toolbar-click event.
function toolbarRendering(args) { if ($(args.target).hasClass('e-rptdesigner-toolbarcontainer')) {
var saveButton = ej.buildTag('li.e-rptdesigner-toolbarli e-designer-toolbar-align e-tooltxt', '', {}, {});
var saveIcon = ej.buildTag('span.e-rptdesigner-toolbar-icon e-toolbarfonticonbasic e-rptdesigner-toolbar-save e-li-item', '', {}, { title: 'Save' });
args.target.find('ul:first').append(saveButton.append(saveIcon));
}
}
function toolbarClick(args) {
if (args.click === 'Save') {
var designer = $('#designer').data('boldReportDesigner');
args.cancel = true;
designer.saveReport();
}
}
|
We have prepared sample application in report designer and Please find the sample from below link
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/JS_Report_Designer-1500648068.zip
Regards,
Arumugasami M
That is exactly what I needed Arumugasami, thank you!
AM
Arumugasami Murugesan
Syncfusion Team
November 19, 2021 05:49 AM UTC
Hi August,
Thanks for the update,
We will wait for your further update.
Regards,
Arumugasami M
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
AE August Eggers
- Nov 16, 2021 03:58 PM UTC
- Nov 19, 2021 05:49 AM UTC