• Resolved amanfre

    (@amanfre)


    Hi,

    I am looking to remove the sorting arrows for columns 1 & 2. I dont need sorting on these two but on the rest I do.

    Appreciate any guidance.

    Anthony

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you can use a “Custom Command”. Please try adding this to the “Custom Commands” text field on the table’s “Edit” screen:

    "columnDefs": [ { "orderable": false, "targets": [ 0, 1 ] } ]
    

    Regards,
    Tobias

    Thread Starter amanfre

    (@amanfre)

    Thanks for the quick response. It worked, sorting is now not visible on columns 1 and 2, however on the 2nd column if you hover on the header it is still sortable but the arrows are invisible. Anything I can do to fix that?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that sounds strange. Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter amanfre

    (@amanfre)

    I know I thought so as well, site is https://www.stoblock.io

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link! However, I can not reproduce this. The first column (“PROJECT”) is not sortable, and neither is the second column (with an empty header cell). The third column (“ASSET CLASS”) is sortable again.
    I have a feeling that what you mean with “clickable” is the left part of the third column already.

    Regards,
    Tobias

    Thread Starter amanfre

    (@amanfre)

    Ahh your right, my bad. Didnt help myself with a blank header on that column.

    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove sorting for column’ is closed to new replies.