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.


Thread ID:





91382 Nov 16,2009 05:02 AM Nov 18,2009 09:57 AM WPF 1
Tags: GridControl
Thomas M
Asked On November 16, 2009 05:02 AM

Hi ,

I need to override the default CellSize how can i do this ?

thanks in advance,

Thomas M.

Ganesan K [Syncfusion]
Replied On November 18, 2009 09:57 AM

Hi Thomas,

Thanks for using Syncfusion products.

To override the default CellSize, you can use the following code.

dataGrid.Model.RowHeights.DefaultLineSize = 25;

foreach (var visibleColumn in dataGrid.VisibleColumns)
visibleColumn.Width = 60;

Please download the workaround sample in the following location.


Let us know if you need any more details.



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.

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.