BlazorDatasheet
BlazorDatasheet copied to clipboard
Possibility to freeze columns
Is possible to freeze the n first columns?
@raghina not at the moment, but I think it would be great to be able to freeze the first n rows or columns.
You can do this with CSS:
table tr:nth-child(4) td:first-of-type {
position: sticky;
left: 0;
top: 0;
z-index: 1;
}
table tr:not(:nth-child(5)) td:nth-child(1) {
background: #fff;
position: sticky;
left: 0;
}
table tr:nth-child(4) td:not(:first-child) {
position: sticky;
top: 0;
}
table tr:nth-child(5) {
position: sticky;
top: 24px;
}