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

Changing RowHeigths for different record types.

Thread ID:

Created:

Updated:

Platform:

Replies:

18170 Aug 25,2004 11:13 AM UTC Aug 25,2004 12:15 PM UTC WinForms 1
loading
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.

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

;