CGridView widget is great, powerful, I am wondering how to sum up one column to put into the footer, since it has default pagination, is there a way to set some parameter so the gridview can show the page sum and total sum at the footer cell ?

Currently , I pass the total sum to the view and put it in the footer, however I can not figure out how to do the page sum

That is what I am looking for, I am expecting that a new attribute can be put into CDataColumn, so it can calculate the total sum for that column with pagination and sorting