6

Is there a way to freeze a column header on a SearchKit Table display like you would on a spreadsheet? We have several SearchKit Tables that take up more than 1 page and it would be nice to have the have the column labels present when scrolling through the search results.

1 Answer 1

8

You can add CSS in your theme file

div.crm-search-display-table table thead tr {
  position: sticky;
  top: 42px;
  box-shadow: 0 2px 2px -1px rgb(0 0 0 / 40%);
}
1
  • 1
    This worked great. The only thing we changed was adding z-index: 2; because the hamburger menu I added was going over.
    – zach
    Jun 17, 2022 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.