Thanks for the JSON data. Yes, it works.
First define custom aggregate, you can name it anything.
pq.aggregate.custom = function( arr ){
return arr[ 0 ];
}
Then use that custom aggregate in groupModel:
var groupModel = {
on: true, //grouping mode.
pivot: true, //pivotMode
titleIndx: 'Employee Name',
groupCols: ['Date'], //grouping along column axis.
agg:{ //aggregate fields.
DayType: 'custom'
},
header: false, //hide grouping toolbar.
dataIndx: ["Employee Name"], //grouping along row axis.
summaryEdit: false
};