Select to view content in your preferred language

Visual indicator calcite-table sort

147
1
Jump to solution
11-12-2024 09:59 AM
Labels (1)
GeoffreyJoseph
Occasional Contributor

I am working on a sort  routine for a calcite-table component. I am trying to include an arrow icon to indicate which column is being sorted and in which direction. I can't find a way to render the arrow icon because of the shadow-dom I assume. Is there any way to work around this? Thanks.

https://codepen.io/joffreyj/pen/qBegqJo

0 Kudos
1 Solution

Accepted Solutions
GeoffreyJoseph
Occasional Contributor

I ended up using the "description" attribute of the header. Not ideal but it works.

 

https://codepen.io/joffreyj/pen/qBegqJo

View solution in original post

0 Kudos
1 Reply
GeoffreyJoseph
Occasional Contributor

I ended up using the "description" attribute of the header. Not ideal but it works.

 

https://codepen.io/joffreyj/pen/qBegqJo

0 Kudos