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

Prevent changing the row height

Thread ID:





54895 Jan 19,2007 08:20 AM UTC Jan 19,2007 05:37 PM UTC WinForms 1
Tags: GridControl
Asked On January 19, 2007 08:20 AM UTC


How do I prevent the user from changing the row height in a grid?

In the latest version of the grid control (4.402.0.51), the rows in the first visible column is always possible to resize. This behaviour was not seen in the previous version (3.x). The rows in the rest of the columns cannot be resized, it is only the first column.

Best regard,

Administrator [Syncfusion]
Replied On January 19, 2007 05:37 PM UTC

Hi Ana,

>>How do I prevent the user from changing the row height in a grid?

You can handle the ResizingRows event of the grid and set e.Cancel to true. This will help you.

//Form load..
this.grid1.ResizingRows +=new GridResizingRowsEventHandler(grid1_ResizingRows);

private void grid1_ResizingRows(object sender, GridResizingRowsEventArgs e)
e.Cancel = true;

Thanks for using Syncfusion Products.



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

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