File tree Expand file tree Collapse file tree 4 files changed +44
-14
lines changed
Expand file tree Collapse file tree 4 files changed +44
-14
lines changed Original file line number Diff line number Diff line change 1- < div class ="sample-column ">
1+ < div class ="sample-flex-row ">
22 < span > Dimensions:</ span >
3+
34 < igx-combo #combo class ="combo " [itemsMaxHeight] ="250 " (selectionChanging) ="handleChange($event) "
45 [data] ="dimensions " [displayKey] ="'memberName' " [(ngModel)] ="selected "
56 placeholder ="Dimension(s) " searchPlaceholder ="Search... ">
67 </ igx-combo >
7- < igx-pivot-grid #grid1 [data] ="origData " [pivotConfiguration] ="pivotConfigHierarchy " (dimensionsChange) ='dimensionChange($event) ' [defaultExpandState] ='true '>
8- </ igx-pivot-grid >
9- </ div >
8+ </ div >
9+ < igx-pivot-grid #grid1 [data] ="origData " [pivotConfiguration] ="pivotConfigHierarchy " (dimensionsChange) ='dimensionChange($event) ' [defaultExpandState] ='true '>
10+ </ igx-pivot-grid >
11+
Original file line number Diff line number Diff line change 11:host {
2- display : block ;
2+ display : flex ;
3+ flex-direction : column ;
34 height : 100% ;
45}
56
7+ .sample-flex-row {
8+ align-items : center ;
9+ display : flex ;
10+ flex-wrap : wrap ;
11+ gap : 16px ;
12+ margin-bottom : 16px ;
13+
14+ span {
15+ margin-bottom : 8px ;
16+ }
17+
18+ igx-combo {
19+ min-width : 400px ;
20+ }
21+ }
22+
23+ igx-pivot-grid {
24+ flex : 1 ;
25+ }
26+
27+
628:host ::ng-deep {
729 .upFont {
830 color : green ;
931 }
1032
1133 .downFont {
12- color :red ;
34+ color : red ;
1335 }
1436
1537 .upFont1 {
1638 color : blue ;
1739 }
1840
1941 .downFont1 {
20- color :yellow ;
42+ color : yellow ;
2143 }
2244
2345 .sample-column {
Original file line number Diff line number Diff line change 11< div class ="sample-flex-row ">
2- < div >
32 < igx-combo #combo class ="combo " [itemsMaxHeight] ="250 " (selectionChanging) ="handleChange($event) "
43 [data] ="dimensions " [displayKey] ="'memberName' " [(ngModel)] ="selected "
54 placeholder ="Dimension(s) " searchPlaceholder ="Search... ">
1110 < button igxButton [disabled] ="grid1.displayDensity === compact " (click) ="setDensity('compact') "> Compact</ button >
1211 </ igx-buttongroup >
1312 </ div >
14- < igx-pivot-grid #grid1 [data] ="origData " [width] ="'100%' " [height] ="'100%' " [defaultExpandState] ='true '
15- [pivotConfiguration] ="pivotConfigHierarchy " (dimensionsChange) ='dimensionChange($event) '>
16- </ igx-pivot-grid >
17- </ div >
1813</ div >
1914
15+ < igx-pivot-grid #grid1 [data] ="origData " [width] ="'100%' " [height] ="'100%' " [defaultExpandState] ='true '
16+ [pivotConfiguration] ="pivotConfigHierarchy " (dimensionsChange) ='dimensionChange($event) '>
17+ </ igx-pivot-grid >
18+
19+
Original file line number Diff line number Diff line change 55}
66
77.density-chooser {
8- max-width : 40% ;
8+ max-width : 60% ;
9+ min-width : 400px ;
10+
911}
1012
1113igx-pivot-grid {
@@ -15,9 +17,13 @@ igx-pivot-grid {
1517.sample-flex-row {
1618 align-items : center ;
1719 display : flex ;
20+ flex-wrap : wrap ;
1821 gap : 16px ;
1922 margin-bottom : 16px ;
20- flex-direction : column ;
23+
24+ igx-combo {
25+ min-width : 400px ;
26+ }
2127}
2228
2329:host ::ng-deep {
You can’t perform that action at this time.
0 commit comments