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

Query for suggested size of a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

103481 May 4,2012 12:05 PM May 10,2012 07:57 AM Windows Forms 1
loading
Tags: GridControl
Adam Bruss
Asked On May 4, 2012 12:05 PM

How can one query for the suggested size of a GridControl cell? That is the dimensions of the cell if it were to be resized with ResizeToFit.



Ragamathulla B [Syncfusion]
Replied On May 10, 2012 07:57 AM

Hi Adam,

Thank you for your interest in syncfusion products,

You can resize the columns manually by using OnQueryPrefferedClientSize method. Please refer to the following our UG link which illustrates the same.

Way 1:

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Grid/Documents/414149autosizingcustomcell.htm

Way 2:

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Grid/Documents/4141122queryrowheight.htm

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Grid/Documents/4141122queryrowheight.htm

Let me know if you have any further concerns.

Regards,

Ragamathullah 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

;