Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6176 | Aug 3,2003 03:28 PM UTC | Aug 4,2003 05:28 AM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
this.grid.InternalColumns.StyleInfo.CellValueType = typeof(Int64);If this is a GridControl, then make sure the grid.ColStyles[col].CellValueType is set to typeof(Int64).
this.grid.ColStyles[col].CellValueType = typeof(Int64);
If this did not work, PopulateValues must have set the individual cells styles to string. So, if that is the case, try:
GridStyleInfo style = new GridStyleInfo();
style.CellValueType = typeof(Int64);
this.grid.ChangeCells(GridRangeInfo.Cells(1, col, this.grid.RowCount, col), style, Syncfusion.Styles.StyleModifyType.Override);
to change the individual cell styles back.
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.