Sorry, ignore my previous post.
Finally found out how to use it.
var obj = {height: '100%', width: '100%', hwrap: false,
summaryTitle:{avg:"Avg: {0}",count:"Count: {0}",max:"Max: {0}",min:"Min: {0}",sum:"{0}"},
colModel: colM,
dataModel: {type: 'local', recIndx: "id", data: response.data}
};
$grid = $("#grid1").pqGrid(obj);