public ReportTable(IReportTablePackage2 package) { this.parent = package; this.columns = new List <IReportTableColumn2>(); }
//List<Item> _results = new List<Item>(); public SrmRepliesListVirtualTable(IReportTablePackage2 package) : base(package) { this.Name = "SrmRepliesListTable"; this.Label = "SRM Replies List Table"; this.Description = "SRM Replies List Table"; this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "ReplyID", Name = "ReplyID", CanDisplay = true, CanFilter = true, IsNullable = false, IsKey = true }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.Integer, Label = "ConversationID", Name = "ConversationID", CanDisplay = true, CanFilter = true, IsNullable = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.Integer, Label = "BundleID", Name = "BundleID", CanDisplay = true, CanFilter = true, IsNullable = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "externalId", Name = "externalId", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "type", Name = "type", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "authorName", Name = "authorName", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "authorProfileUrl", Name = "authorProfileUrl", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "authorImage", Name = "authorImage", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "postedAt", Name = "postedAt", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "status", Name = "status", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "body", Name = "body", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "labels", Name = "labels", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.Boolean, Label = "liked", Name = "liked", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.Integer, Label = "likesCount", Name = "likesCount", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "attachmentType", Name = "attachmentType", CanDisplay = true, }); this.Columns.Add(new ReportColumn() { DataType = ReportColumnType.String, Label = "attachmentUrl", Name = "attachmentUrl", CanDisplay = true, }); }