Hi everyone
How can we prevent calculation of summaries when we are in template row or add new row.
In my grid few columns like Profit and Investment are dependent on Stake. These 3 columns have summaries.
When ever we enter the AddNewRow the click on the Stake column (the default value assinging to stake is 0) its trying to calculate the profit with that Stake 0 vaule and the eventually the summary for the profit, due to which the the Stake Column cell is exiting the edit mode with out typing anything there. I tried to set the entereditmode for the cell but could not solve the problem.
Can anyone suggest how to solve the above mentioned problem
Thanks in advance
Navi
Hello Navi,
You can implement this behavior by handling the BeforeRowActivate event and calling UltraGrid.SuspendSummaryUpdates(). Then, handle the AfterRowUpdate event and call UltraGrid.ResumeSummaryUpdates() passing in true.