angular-multi-select icon indicating copy to clipboard operation
angular-multi-select copied to clipboard

Grouping

Open kiranmahale7 opened this issue 5 years ago • 0 comments

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

kiranmahale7 avatar May 06 '19 19:05 kiranmahale7