Hello,
I want to customize the BusinessObjects columns. I want to hide some columns and change the alias.
I'm trying to do that with this code:
BO.BusinessObjectValue = new List() { AM };
BO.Columns.Add(new StiDataColumn("Column_1", "Name", Type.GetType("System.String")));
BO.Columns.Add(new StiDataColumn("Column_2", "Description", Type.GetType("System.String")));
Report.Dictionary.BusinessObjects.Add(BO);
Report.Dictionary.SynchronizeBusinessObjects();
Report.Dictionary.Synchronize();
The BusinessObject appears in the Dictionary Panel, but the preview doesn't list any data.
Thanks!
How to customize BusinessObjects column
How to customize BusinessObjects column
Hello,
Please send us a sample rpoject for analysis.
Thank you.
Please send us a sample rpoject for analysis.
Thank you.
How to customize BusinessObjects column
Ok! Thank you.
How to customize BusinessObjects column
Hello,
Please instead of code:
use the following line of code:
Thank you.
Please instead of code:
Code: Select all
BO.BusinessObjectValue = new List() { AM };
Code: Select all
Report.RegBusinessObject(BO.Category, BO.Name, BO.Alias, new List() { AM });