Hello,
I am using itembinding event of report table and proramatically generating report table as below.
I'm confused with group structure. After rendering, this is showing only "Val2" as i added it in ReportItem of row group. How do i add two cell items in one row group? Also what about column groups, can i relate column group to row cells of perticular column?
Please help or let me know if more information is needed.
Regards,
Manish
I am using itembinding event of report table and proramatically generating report table as below.
m_ReportTable.Body.Rows.Add(
new TableBodyRow(m_RowHeight));
TextBox dataCell = new TextBox { Value = "val" };
dataCell.Size =
new SizeU(m_RowHeight, m_RowHeight);
m_ReportTable.Body.SetCellContent(0, 0, dataCell);
TextBox dataCell2 = new TextBox { Value = "val2" };
dataCell2.Size =
new SizeU(m_RowHeight, m_RowHeight);
m_ReportTable.Body.SetCellContent(0, 1, dataCell2);
Panel p = new Panel();
p.Items.AddRange(
new ReportItemBase[] { dataCell, dataCell2 });
m_ReportTable.RowGroups[0].ReportItem = dataCell2; //added one defauld row group at initialization
m_ReportTable.Items.AddRange(
new ReportItemBase[] { dataCell, dataCell2 });
I'm confused with group structure. After rendering, this is showing only "Val2" as i added it in ReportItem of row group. How do i add two cell items in one row group? Also what about column groups, can i relate column group to row cells of perticular column?
Please help or let me know if more information is needed.
Regards,
Manish