Skip to content

Grouping #571

Description

@kiranmahale7

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
                ];*/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions