Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6211351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:19:17+00:00 2026-05-24T06:19:17+00:00

Is there a way with dataTables to have it not show the sort icons

  • 0

Is there a way with dataTables to have it not show the sort icons for columns containing either an empty column heading or the words Edit or Delete.

As of right now I’m using this:

"aoColumnDefs": [
    { "bSortable": false, "aTargets": [ 4,5 ] 
}

Which works for 4,5 because those are the Edit and Delete columns but I”m thinking those might now always be the right numbers for the columns everytime plus in the fist column has an empty column heading because each row for that column contains a checkbox so I don’t need to sort by anything there.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:19:19+00:00Added an answer on May 24, 2026 at 6:19 am

    It depends how the “Edit” or “Delete” is being added to the table. You can either do it before the datatables is initialised by finding the column number(s) and creating your own array to pass as “aTargets”, or by removing the icons after-the-fact if all you care about is “look”.

    The first method requires us seeing your page.
    The second method requires knowing what you’re using to display the “icons”. Standard init? bJQueryUI?

    :contains is your friend

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to subtract two datatables in order to have rows of
Is there a way to add a custom column to DataTable jQuery plugin, such
Is there way to copy a file into Plone with WebDAV and have Plone
I'm using the jQuery DataTables plug-in for my HTML table. Is there a way
I want to know is there any way to have editable table in ASP.net
I'm not an expert with either System.Data nor SQL Server, but have a need
I have been using the DataTables plugin for jQuery (http://www.datatables.net) to search, sort and
Is there a relatively straightforward way to get the intersection of two DataTables in
Is there an easy way to reset a django database (i.e. drop all data/tables,
I am wondering if there is a simple way to allow a JQuery datatable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.