Remove/disable designer window resize button

Stimulsoft Reports.JS discussion
Post Reply
appvisionme
Posts: 2
Joined: Tue Dec 01, 2020 2:21 pm

Remove/disable designer window resize button

Post by appvisionme »

Hello,

I have read online documentation of report JS (Designer Settings) but could not locate a way to disable resize button from top of the right corner of designer window.

Appreciate if you can also provide a way to remove dictionary action panel as i want to restrict user to pre-defined JSON data-sources

resize_button.JPG
resize_button.JPG (18.39 KiB) Viewed 938 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Remove/disable designer window resize button

Post by HighAley »

Hello,

You could hide this icon with the next code:

Code: Select all

var designer = new Stimulsoft.Designer.StiDesigner(designerOptions, "StiDesigner", false);
designer.renderHtml("content");
designer.jsObject.options.buttons.resizeDesigner.style.display = "none";
Thank you.
appvisionme
Posts: 2
Joined: Tue Dec 01, 2020 2:21 pm

Re: Remove/disable designer window resize button

Post by appvisionme »

Thank you, it worked very well!
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Remove/disable designer window resize button

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply