Dear Team,
I have an DGV, where user types decimal amounts directly into the cells (DataGridViewTextBoxColumn).
After edit, the Summary Rows are not automatically updated, maybe I’m missing something important, like setting the expected cell type.
colAmount.ValueType = typeof(decimal);
I will be able to capture CellEndEdit and force the SummaryRow recalculations.
Is there a command to recalculate the DataGridViewSummaryRow’s values?
There are AddSummaryRows and RemoveSummaryRows, but no RecalculateSummaryRows().
Hi Kizaemon,
For recalculate SummaryRows just call again AddSummaryRows and it’ll recalculate your Summary
Best,
Kevin (ITG)
Please login first to submit.