Description
Can grouping support fixed # of columns(coming from DB). Otherwise it is one more layer of parsing we need to take care.
/* Data Table : Not working*/
$scope.PanelData.gpList = [
{ Key: 'People', Value: null, msGroup: true }, // Start a group labled 'People'
{ Key: 'Person A', Value: 'Person Desc A', msGroup: false }, // Person A.
{ Key: 'Person B', Value: 'Person Desc B', msGroup: false }, // Person B
{ Key: null, Value: null, msGroup: false },
{ Key: 'Animal', Value: null, msGroup: true }, // Start a group labled 'Animal'
{ Key: 'Animal A', Value: 'Animal Desc A', msGroup: false }, // Animal A.
{ Key: 'Animal B', Value: 'Animal Desc B', msGroup: false }, // Animal B
{ Key: null, Value: null, msGroup: false } // Close 'Animal' group
];
/* Working sample
* $scope.PanelData.gpList = [
{ Key: 'People', Value: null, msGroup: true }, // Start a group labled 'People'
{ Key: 'Person A', Value: 'Person Desc A' }, // Person A.
{ Key: 'Person B', Value: 'Person Desc B' }, // Person B
{ msGroup: false },
{ Key: 'Animal', Value: null, msGroup: true }, // Start a group labled 'Animal'
{ Key: 'Animal A', Value: 'Animal Desc A' }, // Animal A.
{ Key: 'Animal B', Value: 'Animal Desc B' }, // Animal B
{ msGroup: false } // Close 'Animal' group
];*/