table column width
Posted: Tue Oct 28, 2014 7:58 am
Hi,
I create a table with this code
StiTable table = new StiTable();
table.Name = "TBL1" + anno;
table.ColumnCount = datatable.Columns.Count - 1;
table.RowCount = 2;
table.HeaderRowsCount = 1;
table.FooterRowsCount = 0;
table.Width = page.Width;
table.Height = page.GridSize * 12;
table.DataSourceName = String.Format("{0}", datatable.TableName);
page.Components.Add(table);
table.CreateCell();
table.TableStyle = StiTableStyle.Style12;
How can I give different widht for each row?
Thanks
I create a table with this code
StiTable table = new StiTable();
table.Name = "TBL1" + anno;
table.ColumnCount = datatable.Columns.Count - 1;
table.RowCount = 2;
table.HeaderRowsCount = 1;
table.FooterRowsCount = 0;
table.Width = page.Width;
table.Height = page.GridSize * 12;
table.DataSourceName = String.Format("{0}", datatable.TableName);
page.Components.Add(table);
table.CreateCell();
table.TableStyle = StiTableStyle.Style12;
How can I give different widht for each row?
Thanks