• Resolved Greg Turnbull

    (@gregturnbull)


    Tobias:
    my page displays a simple member directory table with some columns that are hidden but searchable. So far so good.

    http://gregturnbull.net/?page_id=731

    One of the hidden columns is the member’s last name (column D). No need to display it, as the information for the user is displayed in column A. I am not asking to let the user sort columns, as clearly they would have no need to sort by something not displayed.

    However, for administrative rather than user-interface purposes, I would like to have the page load initially with a default sort by last name.

    Is it possible to sort a table based on the value of the hidden field (column)?

    I have tried: row_order=”sort” row_order_sort_column=”D”
    row_order_sort_direction=”ASC”

    also tried with row_order_sort_direction=”DESC” as shown in documentation of the extension

    Thanks

    Greg

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Greg,

    thanks for your post, and sorry for the trouble.

    Those Shortcode parameters should work for this here. Are you really sure that the Extension is activated?

    If yes, and you still can’t get it to work, I’d like to take a direct look at this on your site. Could you therefore please create a temporary admin account for me and send me the details via email (the address is in the main plugin file “tablepress.php”)? That way, I can investigate this directly. Thanks!

    Regards,
    Tobias

    Thread Starter Greg Turnbull

    (@gregturnbull)

    Silly me. (not activated).
    Problem solved. Thanks.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem! 🙂 Happens to me all the time.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘TablePress default sort on hidden column’ is closed to new replies.