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

PageTotalsRow() not displaying total COUNT #16

Closed
purnimap18 opened this issue Jun 23, 2016 · 5 comments
Closed

PageTotalsRow() not displaying total COUNT #16

purnimap18 opened this issue Jun 23, 2016 · 5 comments

Comments

@purnimap18
Copy link

In our GRID we are displaying table data from SQL database. Couple of the columns are email & name.
We are using the following code with PageTotalsRow but it just adds a blank row without displaying any COUNT.

new PageTotalsRow([
'email' => function () {
return 'Total Records';
},
'name' => PageTotalsRow::OPERATION_COUNT,
]),

Any help / pointers are greatly appreciated.

@Nayjest
Copy link
Member

Nayjest commented Jun 23, 2016

Hi!
Give me few minutes, I will test PageTotalsRow::OPERATION_COUNT on my grid

@Nayjest
Copy link
Member

Nayjest commented Jun 23, 2016

I reproduced bug. For some $operations it really just adds blank row.
I have meeting now and then during ~3 hours I will fix that.

@purnimap18
Copy link
Author

Alright. Thank you very much for looking into this.

@Nayjest
Copy link
Member

Nayjest commented Jun 23, 2016

@purnimap18 update Grids to v0.5.2 and view-components to v0.25.0 (if you specified view-components in your composer.json, otherwise, it will be updated automatically) to receive bugfix.

And thank you for reporting issue.

@purnimap18
Copy link
Author

@Nayjest Thank you so very much. That worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants