How to disable adding/editing dataSource
Posted: Wed Jun 08, 2022 6:10 am
Hello! I need to disable user ability to add or change existing dataSource. And ability to add new relation 
How can i do that?

How can i do that?
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Code: Select all
var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
designer.renderHtml("content");
var dictionaryPanel = designer.jsObject.options.dictionaryPanel;
dictionaryPanel.toolBar.controls["Actions"].style.display = "none";
dictionaryPanel.toolBar.controls["NewItem"].style.display = "none";
//if you want to hide context menu for dictionary panel
dictionaryPanel.onmouseup = function (event) {
return false;
}