kartik-v/yii2-grid — pull request #152 by Sanya1991 (2014-11-24 11:26:00+00:00)
Title: pageSummary modified

DataColumn class: Two new attribute: pageSummaryPrefix and pageSummaryPostfix.
ColumnTrait class: renderPageSummaryCellContent method modified.

I modified ColumnTrait renderPageSummaryCellContent method, i add pageSummaryPrefix before content and pageSummaryPostfix after content.

Use in view: [
'attribute' => 'attribute name',
'filter' => true,
'pageSummary' => true,
'pageSummaryPostfix' => ' Example postfix: Ft',
'pageSummaryPrefix' => 'Example prefix: $ '
],