The column DEBE is 14 units more than the column HABER, right?
The database table accessing for those rows is:
The red-arrowed row with a negative value, -14, is not being included by GridView to sumarize rows.
I was expecting something like the following:
Here, I changed at database level the value -14 to 14 so the column DEBE is 28 units greater than the column HABER. The orange text is used to show up the expected correct value.
OBS: The value of the second column, HABER is the desired value to be appearing in both column, for DEBE and for HABER simultaneously.
Environment
No needed
Browsers
[x] Google Chrome
[x] Vivaldi
[x] Opera
[x] Mozilla Firefox
[ ] Internet Explorer
[x] Safari
Operating System
[x] Windows
[x] Mac OS X
[x] Linux
[ ] Mobile
Libraries
***
use kartik\detail\DetailView;
use kartik\grid\DataColumn;
use kartik\grid\GridView;
use yii\data\ArrayDataProvider;
***
jQuery version: - integrated with Yii2, not forced to use custom version --
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Prerequisites
master
branch of yii2-grid.Steps to reproduce the issue
Render GridView with following config (only included those required for sumarization):
Expected behavior and actual behavior
When I follow those steps, I see the following:
The database table accessing for those rows is:
I was expecting something like the following:
OBS: The value of the second column, HABER is the desired value to be appearing in both column, for DEBE and for HABER simultaneously.
Environment
No needed
Browsers
Operating System
Libraries
dev-master 1222cdb