File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,14 @@ internal void PopulateSummaryValue(GriddlyColumn c)
8585 case SummaryAggregateFunction . Average :
8686 case SummaryAggregateFunction . Min :
8787 case SummaryAggregateFunction . Max :
88- c . SummaryValue = _result . Aggregate ( c . SummaryFunction . Value . ToString ( ) , c . ExpressionString ) ;
89-
88+ try
89+ {
90+ c . SummaryValue = _result . Aggregate ( c . SummaryFunction . Value . ToString ( ) , c . ExpressionString ) ;
91+ }
92+ catch ( Exception ex ) when ( ex . InnerException is ArgumentNullException )
93+ {
94+ c . SummaryValue = null ;
95+ }
9096 break ;
9197
9298 default :
Original file line number Diff line number Diff line change 14741474
14751475 if ( $ . isFunction ( f ) )
14761476 {
1477- var result = f . call ( button , rowIds ) ;
1477+ var result = f . call ( button , rowIds , event ) ;
14781478
14791479 if ( clearSelectionOnAction && griddly . length )
14801480 {
You can’t perform that action at this time.
0 commit comments