Is this a GridDataBoundGrid? If so, try setting the CellValueType to typeof(Int64). You can do this either through the grid.GridBoundColumns if you have explicitly added them, or through the grid.Binder.InternalColumns if you haven't explicitly added gridboundcolumns.
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).