Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
17548 | Aug 11,2004 01:12 PM UTC | Aug 13,2004 06:05 PM UTC | WinForms | 7 |
![]() |
Tags: GridControl |
this.gridDataBoundGrid1.BaseStylesMap["Column Header"].StyleInfo.Font.Bold = true;
2) If the CellType of these summary cells is not "FormulaCell", then to get the Format to work, you need to set the style.CellValueType = typeof(double).
this.summaryGrid[1, i + 1].CellValue = (double) sum;
Immediately after setting the format, if you try
string s = this.summaryGrid[1, i + 1].FormattedText;
What is s?
this.summaryGrid[1, i + 1].FormattedText;
should be what will be displayed in the grid cell, so I am not sure why 23.0 is not being shown in the cell. If you can post a sample project showing the problem, we can try to debug it here. 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.
This page will automatically be redirected to the sign-in page in 10 seconds.