-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frozen): fix header grouping grid with frozen columns, fixes #290
- Loading branch information
1 parent
2d6025e
commit b851224
Showing
4 changed files
with
100 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
<div class="container-fluid"> | ||
<h2>{{title}}</h2> | ||
<div class="subtitle" [innerHTML]="subTitle"></div> | ||
<h2>{{title}}</h2> | ||
<div class="subtitle" [innerHTML]="subTitle"></div> | ||
|
||
<angular-slickgrid gridId="grid2" | ||
[columnDefinitions]="columnDefinitions" | ||
[gridOptions]="gridOptions" | ||
[dataset]="dataset" | ||
gridHeight="500" | ||
gridWidth="800"> | ||
</angular-slickgrid> | ||
</div> | ||
<h3>Grid 1 <small>(with Header Grouping & Colspan)</small></h3> | ||
<angular-slickgrid gridId="grid1" | ||
[columnDefinitions]="columnDefinitions1" | ||
[gridOptions]="gridOptions1" | ||
[dataset]="dataset1" | ||
gridHeight="275" | ||
gridWidth="800"> | ||
</angular-slickgrid> | ||
|
||
<hr /> | ||
|
||
<h3>Grid 2 <small>(with Header Grouping & Frozen/Pinned Columns)</small></h3> | ||
<angular-slickgrid gridId="grid2" | ||
[columnDefinitions]="columnDefinitions2" | ||
[gridOptions]="gridOptions2" | ||
[dataset]="dataset2" | ||
gridHeight="275" | ||
gridWidth="800"> | ||
</angular-slickgrid> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** You can change the pinned/frozen border styling through this css override */ | ||
|
||
.slick-row .slick-cell.frozen:last-child, | ||
.slick-headerrow-column.frozen:last-child, | ||
.slick-footerrow-column.frozen:last-child { | ||
border-right: 1px solid #969696 !important; | ||
} | ||
|
||
.slick-pane-bottom { | ||
border-top: 1px solid #969696 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters