Page 1 of 1

Remove/disable designer window resize button

Posted: Tue Dec 01, 2020 2:28 pm
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 1297 times

Re: Remove/disable designer window resize button

Posted: Thu Dec 03, 2020 8:15 am
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.

Re: Remove/disable designer window resize button

Posted: Thu Dec 03, 2020 8:37 pm
by appvisionme
Thank you, it worked very well!

Re: Remove/disable designer window resize button

Posted: Sat Dec 05, 2020 9:22 am
by Lech Kulikowski
Hello,

You are welcome.