• Resolved supergap

    (@supergap)


    Hi,
    is it possible to exclude one column from ordering its data?
    I explain better. I have some value that are not ‘ordinable’ (for which ordering has no sense) so I prefer to exclude the possibility of ordering that column.
    Of course I would like to keep ordering on other columns.

    Thanks a lot

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Yes, this is possible. Just add a command like

    
    "columnDefs": [ { "orderable": false, "targets": [ 5 ] } ]
    

    to the “Custom Commands” textfield on the “Edit” screen of that table. (Note that counting the columns starts with 0, so the 5 in the example stands for the 6th column.)

    Regards,
    Tobias

    Thread Starter supergap

    (@supergap)

    It works! thanks.

    Plugin Author Tobias B?thge

    (@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!

    Can we count number of rows after filtering the rows?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    only if you use the JavaScript filtering, which should then show you the number of rows below the table.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Exclude ordering on a specific column’ is closed to new replies.