Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Dynamic Table Reporting
posted

Hi,

Is it possible to have tables in a report that have dynamic number of columns?

Is there a way to have grids rendered in the same way as the charts in the reports?  Can I bind data to a grid and have it added to a group in a report?

All the report demos I've seen so far the tables are static with individual field expression to get the data.

James

Parents
  • 425
    posted

    Another problem I can't seem to find a solution too is how to bind the Rows collection to the table.  I'm wondering if the Reporting is actually capable of doing what I need?  I can't find examples of this kind of data structure being used in a report:

        public class SummaryItem
        {
            public int CycleId { get; set; }
            public IEnumerable<Row> TableData { get; set; }

            public SummaryItem()
            {
                TableData = new List<Row>
                                {
                                    new Row { Dose = "10mg", PatientId = "1001", Cmax = 345, Cmin = 100},
                                    new Row { Dose = "10mg", PatientId = "1002", Cmax = 325, Cmin = 126},
                                    new Row { Dose = "10mg", PatientId = "1003", Cmax = 315, Cmin = 123},
                                    new Row { Dose = "10mg", PatientId = "1004", Cmax = 335, Cmin = 121},
                                };
            }
        }

        public class Row
        {
            public string Dose { get; set; }
            public string PatientId { get; set; }
            public int Cmax { get; set; }
            public int Cmin { get; set; }
        }

Reply Children
No Data