Just had a quick question, is there a way to set a default sort order based on a numeric column? For instance, if I wanted an “Age” column to always sort ASC, showing the lowest age first and so on by default.
Thanks in advance.
]]>I have had TablePress installed for a while and it has worked fine.I just installed DataTables ColumnFilterWidgets. The widget is showing above the table and the pulldowns work as expected, but the column widths are not working at all. Did I writ the shortcode incorrectly?
I have the footer activated.
[table id=35 datatables_columnfilterwidgets=true column_widths=”20px|20px|20px|20px|20px|20px”/]
Thank you,
Will
Is there a way to sort the table other than ‘oldest’ or ‘newest’ first?
For my purpose I’m happy to create a column called sort_order and assign a numeric value to each item in the table, so that it’s sorted to my preference. However I don’t know how to tell Ninja Tables to listen to that sort order by default.
]]>I managed to sort the rows based on the maximum column value 1. The problem is I can not combine the columns by trying to create a ranking on 3 columns.
example.
Team1 = 1 gold – 0 silver – 0 bronze (FIRST POSITION)
Team2 = 0 gold – 1 silver – 0 bronze (SECOND POSITION)
Team3 = 0 gold – 0 silver – 1 bronze (THIRD POSITION)
The code that i use:
[table id=1 row_order=sort row_order_sort_column=B row_order_sort_direction=DESC responsive=”scroll” responsive_breakpoint=”phone” /]
I would also like to combine columns C and D over B.
My goal is to show the nations that have taken more medals, starting from gold and finishing bronze.
Any help is welcome.
]]>Is there any way to turn off the sorting on selected columns?
If not it would be a nice enhancement.
Ted
]]>On the “current store” tab, it shows I have 28 items but when I use the sorting categories on the header columns or even the ‘next page’ link, all my items disappears and I get ‘no results’ found.
Which mean I can remove or verify the 28+ store on my list. Please help. Thank you.
I tried it on chrome & firefox.
https://www.ads-software.com/plugins/wp-store-locator/
]]>For this table I do not want users to sort but I would like the table in alphabetical order on the first column.
I found what I though was a solution and that was to put “aaSorting”: [[0,’asc’]] in custom commands but it does not seem to be working for me
https://www.ads-software.com/plugins/tablepress/
]]>