hide variable in designer

Stimulsoft Reports.NET discussion
Post Reply
sw
Posts: 22
Joined: Fri Jan 26, 2007 10:26 pm

hide variable in designer

Post by sw »

Hi,

I am using variable in my template. But I do not want my user to be able to edit the variable. Is there a way to hide the variable from showing in the designer dictionary? In addition, could you please show some example on how to add system variables?

thank you,

sw
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

hide variable in designer

Post by Jan »

Hello,

You can add restrictions to report dictionary:

Code: Select all

report.Dictionary.Restrictions.Add("MyVariable", Stimulsoft.Report.Dictionary.StiDataType.Variable, Stimulsoft.Report.Dictionary.StiRestrictionTypes.DenyShow);
Thank you.
MGS2516
Posts: 10
Joined: Fri Nov 08, 2019 11:04 am

Re: hide variable in designer Using Java

Post by MGS2516 »

Hi,

I am using variable in my template. But I do not want my user to be able to edit the variable. Is there a way to hide the variable from showing in the designer dictionary using java?

I tries above code showing errors.

Kindly help me on this asap.

thank you,
Vadim
Posts: 363
Joined: Tue Apr 23, 2013 11:23 am

Re: hide variable in designer

Post by Vadim »

Hello.
In StiWebDesignerOptions you can set permissions for variables, for example options.getDictionary().setPermissionVariables(StiDesignerPermissions.View);
MGS2516
Posts: 10
Joined: Fri Nov 08, 2019 11:04 am

Re: Table showing as plain columns & rows without boarders or lines format

Post by MGS2516 »

Hi Team,

I am currently using the stimulsoft 2020/2019 versions,when I'm using table component for displaying the data source data in tabular format.But its showing table as plain i.e without boarders/columns rows lines.

Below i'm attaching the mrt file and screen shots for your reference.

Kindly help me on this asap.
TableReport.mrt
(19.36 KiB) Downloaded 121 times
1.png
1.png (120.01 KiB) Viewed 2066 times
2.png
2.png (87.19 KiB) Viewed 2066 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: hide variable in designer

Post by Lech Kulikowski »

Hello,

Please try to set Borders.

Thank you.
Post Reply