In the table I have, the header is clickable and when clicked, it triggers sorting. Clicking on the header title adds an icon (ascending or descending) to the right of the title, causing the column width to increase based on the size of the icon. Refer to the following images for illustration:
https://i.sstatic.net/Wy8mv.png
https://i.sstatic.net/j2NoI.png
As shown in the images, clicking on the "Funded amount" column adds an ascending/descending icon which pushes the width of that column. What I am looking for is a way to add this icon without affecting or altering the column width.
I haven't included any code as it is a simple table with basic CSS styling, without the use of Bootstrap framework.