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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Theme

Thread ID:

Created:

Updated:

Platform:

Replies:

91382 Nov 16,2009 10:02 AM UTC Nov 18,2009 02:57 PM UTC WPF 1
loading
Tags: GridControl
Thomas M
Asked On November 16, 2009 10:02 AM UTC

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 02:57 PM UTC

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.

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

;