30 lines
1.0 KiB
JavaScript
30 lines
1.0 KiB
JavaScript
"use strict";
|
|
|
|
window.DesignerCustomization = {
|
|
onCustomizeActions: function onCustomizeActions(s, e) {
|
|
var NewReportViaWizard = e.GetById(DevExpress.Reporting.Designer.Actions.ActionId.NewReportViaWizard);
|
|
if (NewReportViaWizard) NewReportViaWizard.visible = false;
|
|
|
|
var ReportWizard = e.GetById(DevExpress.Reporting.Designer.Actions.ActionId.ReportWizard);
|
|
if (ReportWizard) ReportWizard.visible = false;
|
|
}
|
|
|
|
};
|
|
|
|
window.ReportingDesignerCustomization = {
|
|
RemoveAppearanceSection: function RemoveAppearanceSection(s, e) {
|
|
var group = e.dx.Reporting.Designer.Widgets.groups["Design"];
|
|
group.info.splice(0, group.info.length);
|
|
}
|
|
};
|
|
|
|
window.ViewerCustomization = {
|
|
onCustomizeElements: function onCustomizeElements(s, e) {
|
|
// NAsconde tutta la Tab Panel
|
|
//var panelPart = e.GetById(DevExpress.Reporting.Viewer.PreviewElements.RightPanel);
|
|
//var index = e.Elements.indexOf(panelPart);
|
|
//e.Elements.splice(index, 1);
|
|
}
|
|
};
|
|
|