Is it possible to addTotals in agrid to only certain columns?

自作多情 提交于 2020-01-06 09:05:20

问题


When I use addTotals() in a Grid, it sums every column with number fields, How to show only the ones I want?


回答1:


you can override formatTotalsRow() and clear up what's not needed from $this->current_row[]



来源:https://stackoverflow.com/questions/9170210/is-it-possible-to-addtotals-in-agrid-to-only-certain-columns

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!