TablePress default sort on hidden column
-
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
The topic ‘TablePress default sort on hidden column’ is closed to new replies.