Thanks Clay. Is there a way to do this using a renderer class that I can just attach to whichever columns I choose? Thanks.
>The simplest way to handle this is to subscribe to the TableControlDrawCellDisplayText.
>
>
>private void gridGroupingControl1_TableControlDrawCellDisplayText(object sender, GridTableControlDrawCellDisplayTextEventArgs e)
>{
> GridTableCellStyleInfo style = e.Inner.Style as GridTableCellStyleInfo;
> if(style != null && (style.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell
> || style.TableCellIdentity.TableCellType == GridTableCellType.AlternateRecordFieldCell)
> && style.TableCellIdentity.Column != null
> && style.TableCellIdentity.Column.Name == "Col1")
> {
> double d = (double)style.CellValue;
> if(d > 1000000000)
> {
> e.Inner.DisplayText = string.Format("{0:#.##}B", d / 1000000000);
> }
> else
> {
> e.Inner.DisplayText = string.Format("{0:#.##}M", d / 1000000);
> }
> }
>}
>