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

change column type

Thread ID:

Created:

Updated:

Platform:

Replies:

10474 Feb 3,2004 02:49 PM UTC Feb 3,2004 10:31 PM UTC Windows Forms 1
loading
Tags: Grouping
Marco Ensing
Asked On February 3, 2004 02:49 PM UTC

Stefan thanks for all your excellent support. I have a little question to change the appearance of one column. I have a DataSet attached to the gripGroup.DataSource. One element in the DataSet is of type date. But I would like to have this rendered as just plain string text: "Sunday, November 1, 2003" I''ve been trying to change a column appearance. But till so far unsuccesfull. Question to you is: how can I change one column type, and secondly any tips to increase the rendering speed. Is there any information I could cache? Imagine I have 500 items in the gridGroup control. With maybe 6 columns. And an appearance view of 40 rows? Regards, Marco

Administrator [Syncfusion]
Replied On February 3, 2004 10:31 PM UTC

Marco, Try changing the "Format" property for the RecordFieldCell Appearance object. Make also sure the column is of type "DateTime". If not set the RecordFieldCell Appearance "CellValueType" property to be DateTime. Example for changing the Format: groupingGrid.TableDescriptor.Columns["DateTimeColname"].Appearance.AnyRecordFieldCell.Format = "D"; Regarding caching - you shouldn''t worry about that. It is the job of the engine within its element collections to do the caching and we still plan on improving this. There are some strategic places where we will put more caching in place. Also make sure to use the Release version of the libraries when you check performance. 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

;