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.

Theme

Thread ID:

Created:

Updated:

Platform:

Replies:

91382 Nov 16,2009 05:02 AM Nov 18,2009 09:57 AM WPF 1
loading
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.

http://www.syncfusion.com/uploads/redirect.aspx?file=GDCCellSize_6b87264d.zip&team=development

Let us know if you need any more details.

Thanks
Ganesan

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.

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.

;