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. Image for the cookie policy date

Setting height of parent grid

When I'm nesting grid I'll get an error that there is no space when I try to draw it unless I set height of the row in the parent grid:

gridParent.Columns[0].Width = 500;
gridParent.Rows[0].Height = 100;
gridParent.Rows[0].Cells[0].Value = gridChild;

Do I always have to set the height?  Or is there some style I can add to dynamically set it?

3 Replies

GM Geetha M Syncfusion Team July 5, 2012 07:16 AM UTC

Hi Dan,

Thank you for the details.

Could you please send us a simple sample application so that we can check and get back to you?

Regards,
Geetha


AD Administrator Syncfusion Team July 5, 2012 06:03 PM UTC

Sorry, it fails when one of the inner grids is too wide to fit on the page.   It shouldn't be that wide anyway, so that fixes the problem.


GM Geetha M Syncfusion Team July 6, 2012 04:06 AM UTC

Hi Dan,

Thank you for the update.

Please let us know if you have any questions.

Regards
Geetha

Loader.
Live Chat Icon For mobile
Up arrow icon