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

Grouping grid control Currency column

Thread ID:

Created:

Updated:

Platform:

Replies:

35521 Oct 3,2005 10:24 AM UTC Oct 3,2005 10:57 AM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On October 3, 2005 10:24 AM UTC

How can I set a column as Currency with a GroupingGridControl? grid.TableModel.ColStyles[ columnName ].CellType = "Currency"; Doesn´t do anything. In fact no change I make through TableModel is seen: for example grid.TableModel.ColStyles[ columnName ].BackColor = Color.Beige; I see I can set a column as Currency in the PrepareViewStyleInfo and QueryCellStyleInfo events... but can I do it once for the whole column(s)? PS: IGridTableCellStyleCache sounds like a clue, is something similar to the "ResizableRows" example needed?

Administrator [Syncfusion]
Replied On October 3, 2005 10:32 AM UTC

You can set: this.gridGroupingControl1.TableDescriptor.Columns["col1"].Appearance.AnyRecordFieldCell.CellType = "Currency";

Administrator [Syncfusion]
Replied On October 3, 2005 10:57 AM UTC

Uhm, I got lost through the millions of properties again :), thanks Clay. >You can set: > >this.gridGroupingControl1.TableDescriptor.Columns["col1"].Appearance.AnyRecordFieldCell.CellType = "Currency"; >

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

;