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.
Syncfusion Feedback

Column Widths, ResetWidth(), and ShowCaptionSummaryCells == true

Thread ID:

Created:

Updated:

Platform:

Replies:

20031 Oct 8,2004 05:42 AM UTC Oct 8,2004 01:19 PM UTC WinForms 1
loading
Tags: Grouping
Dominic Morris
Asked On October 8, 2004 05:42 AM UTC

It is required that we set ShowCaptionSummaryCells == true, and that a caption summary row is displayed. The problem I''m hitting is that the ResetWidth() method when called a grouped column, does not seem to take into account the width of any group caption rows, only the data rows. This results in group rows where the text on the grouped column is not visible. What is the best way of solving this problem? TIA, D.

Administrator [Syncfusion]
Replied On October 8, 2004 01:19 PM UTC

Hi Dominic, you are right - when column widths are calculated right now only the contents of records are considererd. To fix this problem we recently added a new member property to GridSummaryColumnDescriptor. It is called MaxWidth and allows you to specifie the maximum length of the formatted text for this summary column. This value will be used for calculating the optimal width of a column. The default is the length of the Format text plus 5. We are also trying to find a solution to make this automated but don''t have anything in place for that yet. With 2.1.0.9 code the only way around is to manually set the column width. Stefan

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

;