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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing RowHeigths for different record types.

Thread ID:





18170 Aug 25,2004 11:13 AM UTC Aug 25,2004 12:15 PM UTC WinForms 1
Tags: GridControl
Andrey Plinda
Asked On August 25, 2004 11:13 AM UTC

Hello! I have datatable in which "Type" column can have 3 different values. New records are adding to the table every second and are displayed on grid''s first row (descend sorting). Based on "Type" values I display records in GridDataBoundGrid with different colors and fonts. But not all records fit into row height. I have tryed to change row height throught gdbg.Model.RowHeight[index], but it is slow. Is any ways to change row height more quickly? Best regards.

Administrator [Syncfusion]
Replied On August 25, 2004 12:15 PM UTC

You can try subscribing to the grid.Model.QueryRowHeight event and dynamically set the row height on demand. In the event, you would check e.Index and decide what row height is needed, and then set e.Size to that value and set e.Handled = true. You would NOT set values into grid.Model.RowHeights as this would still slow things down.


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

Live Chat Icon For mobile
Live Chat Icon