function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
venkat bojjavenkat bojja 

How to remove unwanted css classes from loaded scripts as a static resource (sorting symbols) in lightning components

I have Used jQuery DataTable Plugin In Salesforce Lightning Component . Now i want to remove unwanted sorting symbols in my table  from the loaded scripts.
So any one help me on this. Thanks in advance...

Ref Image:

User-added image
User-added image


Best Answer chosen by venkat bojja
to stop sorting on jQuery datatable column you can set the columnDefs like this :
                        "columnDefs": [ {
                        "targets": 0,
                        "orderable": false
                        } ]
and to hide sorting icon : use background : none !important;  CSS style to your header column 

Hope it will helps you