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

Grouping grid control Currency column

Thread ID:





35521 Oct 3,2005 10:24 AM UTC Oct 3,2005 10:57 AM UTC WinForms 2
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"; >


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