Manually Creating A Cgridview Look, But Still Using Sorter And Pagination

I am very happy to use YII in its PHP side. But, I am planning to use Mootools as its javascript library.

So, i plan not to use CGridView to take advantage of the library i already create. But the problem is I cant find in the CGridView source code any Class which i can use to manually create a table with sorter and a pager.

What i mean, anything that I can use to make a view like this.




      <th>...use any class which can generate a sorter linkss...</th>




   ....rows here..



....use any class or variable which can generate pagination links....

So after i accomplish this task, I plan to refactor it as a widget.

I hope someone help me.

thank you…