Home Forums WinForms controls Xceed Grid for WinForms Fixed Footer Row Reply To: Fixed Footer Row

Diane [Xceed]
Moderator
Post count: 1353

Here is a working sample I did :

// Create a new Summary Row
SummaryRow summaryRow = new SummaryRow();

// Add it to the grid
gridControl.FixedFooterRows.Add( summaryRow );

// Create a Summary Cell for the column
SummaryCell cellSumCost = ( SummaryCell )summaryRow.Cells[ “Cost” ];

// Set up the summary cell
cellSumCost.StatFieldName =
“Cost”;
cellSumCost.StatFunction = Xceed.Grid.
StatFunction.Sum;

Imported from legacy forums. Posted by Diane [Xceed] (had 3050 views)