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. (Last updated on: November 16, 2018).
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 04:05 PM UTC May 10,2012 11:57 AM UTC WinForms 1
loading
Tags: GridControl
Adam Bruss
Asked On May 4, 2012 04:05 PM UTC

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 11:57 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;