We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

nested tables width

Thread ID:

Created:

Updated:

Platform:

Replies:

93540 Mar 18,2010 03:41 PM UTC Mar 31,2010 04:36 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Maurizio Selvaggini
Asked On March 18, 2010 03:41 PM UTC

I recently upgraded to the new version 8.103.0.30 and I have a little problem with nested tables.
In version 7 set the width of a nested table as the sum of the widths of individual cells of the nested table itself.
For example:

rlk.ChildTableDescriptor.Columns (0). HeaderText = "Name"
rlk.ChildTableDescriptor.Columns (0). Width = 150

rlk.ChildTableDescriptor.Columns (1). HeaderText = "Type"
rlk.ChildTableDescriptor.Columns (1). Width = 100

rlk.ChildTableDescriptor.Columns (2). HeaderText = Other "
rlk.ChildTableDescriptor.Columns (2). Width = 100

In this example the nested table is a large 350 (the sum of the width of each cell).

In the new version the same code produces a different result in that the width of the nested table appears to be the same width of the parent table and all cells are of equal width.

I modified the above example by eliminating the width setting for the last cell

rlk.ChildTableDescriptor.Columns (0). HeaderText = "Name"
rlk.ChildTableDescriptor.Columns (0). Width = 150

rlk.ChildTableDescriptor.Columns (1). HeaderText = "Type"
rlk.ChildTableDescriptor.Columns (1). Width = 100

rlk.ChildTableDescriptor.Columns (2). HeaderText = Other "
'''''''''Rlk.ChildTableDescriptor.Columns (2). Width = 100

In this case the cells "Name" and "Type" are correctly dimensioned, while the last cell occupies the remaining space up to the size of the parent table.

How do I size the nested table to a width "custom"?
Probably I set some specific property but can not locate it.

Sincerely
Maurizio Selvaggini



Jaffersathick B [Syncfusion]
Replied On March 31, 2010 04:36 AM UTC

Hi Maurizio,


Thank you for using Syncfusion products.


I am afraid ,that I was unable to reproduce this issue. I have created a simple sample to meet your requirement but the reported issue does not occur.

Please refer the code snippet below:
[CS]

this.GridGroupingControl1.Width = 800;

ChildTableRelationDescriptor.ChildTableDescriptor.Columns[0].Width = 50;
ChildTableRelationDescriptor.ChildTableDescriptor.Columns[1].Width = 50;
ChildTableRelationDescriptor.ChildTableDescriptor.Columns[2].Width = 50;
ChildTableRelationDescriptor.ChildTableDescriptor.Columns[3].Width = 50;
ChildTableRelationDescriptor.ChildTableDescriptor.Columns[4].Width = 50;
ChildTableRelationDescriptor.ChildTableDescriptor.Columns[5].Width = 50;



Please provide us a issue reproducing simple sample. so that we could short out the cause of this issue and provide us the better solution.


Let me know if you have any queries .

Regards,
Jaffer.B

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;