Open maxxer opened 1 year ago
A friend appointed me the F_SUM
feature works in javascript, so with plain integer/float values. I tied removing the format
option from all columns, but still won't sum
Yes the F_SUM (means a numeric summation) and needs a numeric value in each cell in the specific Grid DataColumn for summary to be mathematically possible. You need to ensure that the DataColumn value
is numeric and you can use the DataColumn content
property to format the data content for display.
Prerequisites
master
branch of yii2-grid.Steps to reproduce the issue
Expected behavior and actual behavior
I don't know if it matters, the ActiveDataProvider query comes from a
(new Query)
and not from an ARfind()
Environment
Browsers
Operating System
Libraries
Isolating the problem