Category on datatables

I have a view that I am putting into a datatable because I would like to have more control over it however I need a way to simulate categories and totals in a few columns. Is this possible with a data table or should i be using something else?

A pointer to a tutorial or wiki would be fine, but i cannot find anything.

Thanks!!