Hi,
we've integrated Stimulsoft dashboards.web into our web application which seems to have gone well. In our instance we take control of supplying the data sources from our SQL server through our application so have hidden many of the native controls for adding data sources, which we have done with the settings below. However we cannot seem to hide the action bar in the dictionary (just below the dictionary title). Is this possible to be hidden?
//
StiWebDesigner1.ShowSaveDialog = false;
StiWebDesigner1.ShowFileMenuSaveAs = false;
StiWebDesigner1.ShowFileMenu = false;
StiWebDesigner1.ShowNewPageButton = false;
StiWebDesigner1.ShowNewDashboardButton = false;
//
StiWebDesigner1.PermissionBusinessObjects = StiDesignerPermissions.None;
StiWebDesigner1.PermissionDataColumns = StiDesignerPermissions.View;
StiWebDesigner1.PermissionDataConnections = StiDesignerPermissions.View;
StiWebDesigner1.PermissionDataRelations = StiDesignerPermissions.None;
StiWebDesigner1.PermissionDataSources = StiDesignerPermissions.View;
StiWebDesigner1.PermissionResources = StiDesignerPermissions.None;
StiWebDesigner1.PermissionSqlParameters = StiDesignerPermissions.View;
StiWebDesigner1.PermissionVariables = StiDesignerPermissions.View;
Hiding Action Bar
-
- Posts: 42
- Joined: Mon Apr 13, 2020 7:29 am
Hiding Action Bar
- Attachments
-
- Stimulsoftdesigner.png (188.62 KiB) Viewed 1637 times
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding Action Bar
Hello,
please check the following code:
Thank you.
please check the following code:
Code: Select all
var designer = new Stimulsoft.Designer.StiDesigner(designerOptions, "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;
}
-
- Posts: 42
- Joined: Mon Apr 13, 2020 7:29 am
Re: Hiding Action Bar
thanks this sorted it for us.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Hiding Action Bar
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.