File tree Expand file tree Collapse file tree 2 files changed +22
-12
lines changed
Expand file tree Collapse file tree 2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 1- < div class ="sample-column ">
2- < span > Dimensions:</ span >
1+ < div class ="sample-flex-row ">
32 < igx-combo #combo class ="combo " [itemsMaxHeight] ="250 " (selectionChanging) ="handleChange($event) "
4- [data] ="dimensions " [displayKey] ="'memberName' " [(ngModel)] ="selected "
5- placeholder ="Dimension(s) " searchPlaceholder ="Search... ">
3+ [data] ="dimensions " [displayKey] ="'memberName' " [(ngModel)] ="selected "
4+ placeholder ="Dimension(s) " searchPlaceholder ="Search... ">
65 </ igx-combo >
7- < h4 > Display Density</ h4 >
86 < div class ="density-chooser ">
97 < igx-buttongroup >
10- < button igxButton [disabled] ="grid1.displayDensity === compact "
11- (click) ="setDensity('compact') "> Compact</ button >
8+ < button igxButton [disabled] ="grid1.displayDensity === comfortable " (click) ="setDensity('comfortable') "> Comfortable</ button >
129 < button igxButton [disabled] ="grid1.displayDensity === cosy " (click) ="setDensity('cosy') "> Cosy</ button >
13- < button igxButton [disabled] ="grid1.displayDensity === comfortable "
14- (click) ="setDensity('comfortable') "> Comfortable</ button >
10+ < button igxButton [disabled] ="grid1.displayDensity === compact " (click) ="setDensity('compact') "> Compact</ button >
1511 </ igx-buttongroup >
1612 </ div >
17- < igx-pivot-grid #grid1 [data] ="origData " [width] ="'100%' " [height] ="'100%' " [pivotConfiguration] ="pivotConfigHierarchy "
18- (dimensionsChange) ='dimensionChange($event) '> </ igx-pivot-grid >
1913</ div >
14+ < igx-pivot-grid
15+ #grid1 [data] ="origData "
16+ [pivotConfiguration] ="pivotConfigHierarchy "
17+ (dimensionsChange) ='dimensionChange($event) '>
18+ </ igx-pivot-grid >
19+
Original file line number Diff line number Diff line change 55}
66
77.density-chooser {
8- margin-bottom : 16px ;
98 max-width : 40% ;
109}
1110
1211igx-pivot-grid {
1312 flex : 1 ;
1413}
1514
15+ .sample-flex-row {
16+ align-items : center ;
17+ display : flex ;
18+ gap : 16px ;
19+ margin-bottom : 16px ;
20+
21+ > * {
22+ flex : 1 ;
23+ }
24+ }
25+
1626:host ::ng-deep {
1727 .upFont {
1828 color : lightgreen ;
You can’t perform that action at this time.
0 commit comments