RecalculateSummaryRows

0
0

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().

 

  • You must to post comments
0
0

Hi Kizaemon,

For recalculate SummaryRows just call again AddSummaryRows and it’ll recalculate your Summary

Best,

Kevin (ITG)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.