if (gridBoundColumn.Aggregate == GridAggregateFunction.None)

                        {
                            gridBoundColumn.Aggregate = GridAggregateFunction.Sum;
                        }