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
table column width
Re: table column width
Hello.
Unfortunately, it's impossible. The width is set automatically based on the content.
It's better to use Data Band with Text Components. It gives more flexibility.
Thank you.
Unfortunately, it's impossible. The width is set automatically based on the content.
It's better to use Data Band with Text Components. It gives more flexibility.
Thank you.
Re: table column width
I have a cell with a dynamic height. How can i set this height for other cell in the same row using textcomponent?
Thanks
Thanks
Re: table column width
Hello.
Thank you.
Yes. It's better to use Grow to Height property.chiara wrote:I have a cell with a dynamic height. How can i set this height for other cell in the same row using textcomponent?
Thank you.
Re: table column width
Thanks
Re: table column width
Hello.
You are welcome.
Let us know if you need any additional help.
Thank you.
You are welcome.
Let us know if you need any additional help.
Thank you.