Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepend or append content to pageSummary #152

Closed
wants to merge 3 commits into from

Conversation

Sanya1991
Copy link

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: $ '
        ],

@kartik-v kartik-v changed the title pageSummary modified Prepend or append content to pageSummary Dec 1, 2014
@kartik-v
Copy link
Owner

kartik-v commented Dec 2, 2014

Resolved via upgrade to release v2.7.0. The prepend and append options have been added to pageSummaryOptions.

@kartik-v kartik-v closed this Dec 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants