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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Making Rows and Cols fit Visible area of Grid

Thread ID:





10074 Jan 21,2004 07:04 PM UTC Jan 21,2004 08:44 PM UTC WinForms 2
Tags: GridControl
Erik Jensen
Asked On January 21, 2004 07:04 PM UTC

I know this talked about a lot however, Ive spent 30 mins looking. Making Rows and Cols fit Visible area of Grid Is there any easy way to resize cols and rows to fit area.. or.. how can I get at the width of the colheader and row header and their heights as well. Thanks

Administrator [Syncfusion]
Replied On January 21, 2004 07:41 PM UTC

Try the code suggested in this forum thread. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9616 To get row heights and column withd, try grid.Model.RowHeights[rowIndex] and grid.Model.ColWidths[colIndex].

Administrator [Syncfusion]
Replied On January 21, 2004 08:44 PM UTC

Thats the Ticket. Thanks Clay!


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon