The data in pqGrid can be grouped by columns. It's achieved by using intuitive nested column models, the rest of the procedure is same as creating normal grids.
Notice how the columns are reordered using drag and drop when headers are grouped.