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
281
Merging of cell in row reduces the width of merged row in UIltraWebGrid.
posted

Hi,

In my application I am adding three row dynamically at runtime. After adding first row I am merging it across four column. Merging works fine except its row width, i.e the widht of the rows becomes smaller then the other row(please see pic for detail I circled the problem).

I am using following code to add row at runtime:

UltraGridRow ugRow = new UltraGridRow(); "Something"; HorizontalAlign.Center;

uwgTest.Rows.Insert(0, ugRow);

ugRow.Cells[0].Text = "Something";

 
uwgTest.Rows[0].Cells[0].ColSpan = uwgTest.Rows[0].Cells.Count;

Can any one knows why this is happening?