Created
September 25, 2023 10:43
-
-
Save iamrealfarhanbd/9bb4b966ab01159f93ef477e6b1cb854 to your computer and use it in GitHub Desktop.
Custom CSS code to make the left first columns of a Ninja Table sticky when scrolling to the right.
This file contains hidden or 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
#footable_parent_NT_ID tbody tr td:nth-child(1), #footable_parent_NT_ID thead th:nth-child(1){ | |
position: sticky; | |
position: -webkit-sticky; | |
left: 0; | |
z-index: 1; | |
background: #fafafb; | |
font-weight:bold; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment