Page 1 of 1

Hiding data columns in designer dictionary

Posted: Thu Oct 15, 2009 10:09 am
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?

Hiding data columns in designer dictionary

Posted: Fri Oct 16, 2009 3:11 am
by Andrew
Hello,

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

Thank you.