Sort by column (#198)

* chore: Split HeaderCell out of Row.tsx

* feat: toggle and highlight selected column header

* feat: Fixed sorting, added stylized headers

* fix: Performance and hardware column sorting

* fix: Rebuild the sorted list when changing the comparator
This commit is contained in:
Maciej Hirsz
2019-11-12 14:19:40 +01:00
committed by GitHub
parent 735b2b431f
commit b62f89efb7
11 changed files with 569 additions and 342 deletions
@@ -26,6 +26,16 @@
height: 23px;
}
.Row-Header th.HeaderCell-sortable {
cursor: pointer;
}
.Row-Header th.HeaderCell-sorted {
cursor: pointer;
background: #E6007A;
color: #fff;
}
.Row .Row-truncate {
position: absolute;
left: 0;