Hi,
Working more on the calls from IndexDB and now, I have created my colModel dynamically and everything looks good, I am having some issues with the groupmodel not initializing unless I push toggl on/off, At the end I add the group model and refreshviewanddata hoping it refreshes but no luck.
var groupModel = {
on: true,
indent: 20,
dataIndx: dataIndx,
summaryInTitleRow: "all",
grandSummary: true,
showSummary: [],
summaryEdit: false,
titleInFirstCol: true,
bold: true,
collapsed: [false, false, false, true],
title: ['{0}', '{0}', '{0}', '{0}']
};
var grid = pq.grid("#grid_group_rows", obj);
grid.colModel = buildColM;
grid.Group().option(groupModel);
console.log(groupModel);
grid.refreshDataAndView();