Hiding data columns in designer dictionary

Stimulsoft Reports.WEB discussion
Post Reply
Lynn
Posts: 42
Joined: Tue Oct 06, 2009 9:58 am
Location: United States

Hiding data columns in designer dictionary

Post by Lynn »

I have tried everything I can think of, with no luck (e.g. I tried qualifying the column names in the call to Add with the data source name; I tried using RegData instead of ImportXMLSchema). This is the latest version of my code:

Code: Select all

                   DataSet theData = ReportUtility.GetReportData();
                            stiReport.Dictionary.ImportXMLSchema(theData);

                            stiReport.Dictionary.Restrictions.Add("OBJECTID", Stimulsoft.Report.Dictionary.StiDataType.DataColumn, Stimulsoft.Report.Dictionary.StiRestrictionTypes.DenyShow);
                            stiReport.Dictionary.Restrictions.Add("MCPA_C_STAMP", Stimulsoft.Report.Dictionary.StiDataType.DataColumn, Stimulsoft.Report.Dictionary.StiRestrictionTypes.DenyShow);
                            WebDesigner1.Design(stiReport);
If I put a breakpoint on the call to Design, in the debugger, I can see the restrictions are there, but once the designer opens and I expand the data source, I can still view the columns.
Is there something else I should try?
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Hiding data columns in designer dictionary

Post by Andrew »

Hello,

Unfortunately, on the current moment, this feature is not avaiable in WebDesigner.

Thank you.
Post Reply