Skip to content

Commit f6ffa42

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Adjust some styles for row selection.
1 parent f23dd6c commit f6ffa42

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

projects/igniteui-angular/src/lib/core/styles/components/grid/_grid-theme.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1825,6 +1825,20 @@
18251825
color: var-get($theme, 'row-selected-text-color');
18261826
background: var-get($theme, 'row-selected-background');
18271827

1828+
&%grid-row--mrl {
1829+
background: transparent;
1830+
%grid-mrl-block {
1831+
color: var-get($theme, 'row-selected-text-color');
1832+
background: var-get($theme, 'row-selected-background');
1833+
%igx-grid__td--merged {
1834+
color: var-get($theme, 'row-selected-text-color');
1835+
background: var-get($theme, 'row-selected-background');
1836+
}
1837+
}
1838+
}
1839+
1840+
1841+
18281842
%grid-cell--selected,
18291843
%grid-cell--pinned-selected {
18301844
color: var-get($theme, 'cell-selected-within-text-color');

src/app/grid-cellMerging/grid-cellMerging.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h4 class="sample-title">Grid with cell merge</h4>
2-
<igx-grid [data]="data" width="800px" height="550px" [primaryKey]="'ProductID'" [moving]="true" [cellMergeMode]="'always'" >
2+
<igx-grid [data]="data" width="800px" height="550px" [primaryKey]="'ProductID'" [moving]="true" [cellMergeMode]="'always'" [rowSelection]="'single'" >
33
<igx-column field="ProductID" header="Product ID" width="200px">
44
<ng-template igxCell let-cell="cell" let-val>
55
<div>

0 commit comments

Comments
 (0)