Last active
December 7, 2018 12:07
-
-
Save dudelis/6a8c020b1ca9777f8b1b8f9b806c5802 to your computer and use it in GitHub Desktop.
K2 Smartforms: How to rotate ListView headers
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
<style> | |
div[name="viewTestVerticalColumnHeader"] .grid-column-header-table tr { | |
height: 100px; /* This value defines the height of your header*/ | |
white-space: nowrap; | |
} | |
div[name="viewTestVerticalColumnHeader"] .grid-column-header-table .grid-column-header-cell { | |
transform: | |
translate(25px, -5px) /* This numbers you have to change to move the header after rotation*/ | |
rotate(315deg); /* This defines the angle of rotation. - 45 is really 360 - 45 */ | |
width: 140px!important; /* This value defines if you see all the text or some of the characters*/ | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment