rgsorted disable

1 Answer 23 Views
Grid Styling
Wayne
Top achievements
Rank 1
Iron
Wayne asked on 13 Mar 2025, 09:17 AM

Hello

I have several RadGrids with custom css applied to the columns.  Everything works as intended.  However, when a column is sorted, telerik applied the .rgSorted css and this completely defeats the purpose of the gird (in our application).  What is the procedure to DISABLE or DELETE the .rgSorted css, as this particular class will never be needed or used. 

Note: any css class definition with !important cannot be used in this context.

Thank you

Wayne
Top achievements
Rank 1
Iron
commented on 13 Mar 2025, 10:05 AM

Disregard the question.... I managed to find the "Enable Skin Sort Styles" checkbox in the "Sorting Settings".  This indeed turns off the .rgSorted class and the custom css is now in effect.

Thank you for reading.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Mar 2025, 10:20 AM

Hi Wayne,

It's great to hear that you've found the "Enable Skin Sort Styles" checkbox in the "Sorting Settings" and confirmed that it successfully disables the rgSorted class. This option allows you to prevent the default sorting styles from being applied, ensuring that your custom CSS is in effect.

If you have any more questions or need further assistance with customizing RadGrid or other Telerik components, feel free to reach out.

    Regards,
    Rumen
    Progress Telerik

    Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

    Tags
    Grid Styling
    Asked by
    Wayne
    Top achievements
    Rank 1
    Iron
    Answers by
    Rumen
    Telerik team
    Share this question
    or