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)
85
85
case SummaryAggregateFunction . Average :
86
86
case SummaryAggregateFunction . Min :
87
87
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
+ }
90
96
break ;
91
97
92
98
default :
Original file line number Diff line number Diff line change 1474
1474
1475
1475
if ( $ . isFunction ( f ) )
1476
1476
{
1477
- var result = f . call ( button , rowIds ) ;
1477
+ var result = f . call ( button , rowIds , event ) ;
1478
1478
1479
1479
if ( clearSelectionOnAction && griddly . length )
1480
1480
{
You can’t perform that action at this time.
0 commit comments