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

Query for suggested size of a cell

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.



1 Reply

RB Ragamathulla B Syncfusion Team 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.


Loader.
Live Chat Icon For mobile
Up arrow icon