vuetable-2
vuetable-2 copied to clipboard
How can i always show sort icons?
Sort icons is only show when click specific column title. how can I make all sort icons always visible?
thanks in advance.
I can't see anything in the source code that lets you control the sort icons. You need to handle that yourself.
` th.sortable { /* anchor point for our :after pseudo class*/ position: relative; }
th.sortable:after { /* create the sort icon with css */ font-family: Icons; font-style: normal; font-weight: 400; text-align: center; content: "\f077";
/* Position the icon with pixels (old browsers) */ position: absolute; top: 23px; right: 16px;
/* Position the icon relative values (modern browser) */ top: 50%; transform: translateY(-50%); }
th[class*="sorted"]:after { /* hide icons if sorting is active on that headline */ display: none; }`