Filter with alphabetical order instead of drop-down menu
-
Hey Tobias,
Instead of drop-down menu, can i have an option for alphabetical order for a specific column like the screenshot below?
Best regards
-
Hi,
thanks for your post.
You could maybe take a look at the TablePress Extension that is mentioned at https://wordpress.org/support/topic/i-want-to-incorporate-a-data-filter-by-alphabets/#post-8413879 for this.
Regards,
TobiasOohhh, thanks a lot once again, but forgive me about my ignorance.
First of all Alphabet ordering doesn’t work together with Column Filter Widget.
For example, what i am trying to achieve is to have alphabet ordering based on specific column and drop-down filtering based on other columns.
So, right now, I have only alphabet ordering but reads the first column which is hidden because is my flag column!
I confuse you ?
Here is the reference: http://yesmedia.eu/xenialive/table-press/-
This reply was modified 9 years, 1 month ago by
MasterJuan.
Hi,
yeah, the Alphabetsearch can only use the very first column, i.e. you will have to move your flag column :-/
As for showing both ColumnFilterWidgets and Alphabetsearch: Please try adding this to the “Custom Commands” textfield on the “Edit” screen of the table:
"dom": "AWlfrtip"Something else (independent from this): Please remove the line
<script src="//yesmedia.eu/xenialive/wp-content/uploads/tablepress-custom/js/jquery-1.9.1.min.js"></script>
from your page. You should never include an old (and second) copy of jQuery.Regards,
TobiasPerfect, it works.
You are right (about jQuery). It was together with autofil package. I removed it and still works (partially-ignores the hidden rows).
Best regards
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
TobiasOne more think regarding drop-down menu functionality.
Let’s say that from “HALL” drop-down choose “HALL1” and then “HALL2”, then you will have both HALL1 & HALL2 into results.
Personally, I like this functionality because you can achieve more advanced filtering combine choices from all drop-down menus. However, what if someone wants, when click to a choice, then having the results only for that choice?
Best regards
Hi,
he will have to remove the other (unwanted) results first, by clicking on the unwanted filter term that has now appeared under the drow-down.
Regards,
TobiasHey Tobias,
Yeah, this is how it works right now! I would like to show only the results for my selection each time.
So, if i click to choice1 to see the results for this choice only.
Then, when i click to choice2, automatically to see only the results for this choice!Can we achieve this?
Best regards
Tobias, regarding with alphabetical sorting, can i have multi-language sorting?
Can i have together (for example, greek and english letters)?
Best regards
Hi,
I don’t know a solution for that, sorry. You would have to modify the JS code for ColumnFilterWidgets.
Regards,
TobiasOk, no worries, I will give a try and I will let you know.
What about multi-language alphabetical ordering?
Hi,
what do you mean by that?
Regards,
TobiasPlease look this screenshot https://ibb.co/nOeqHk
For example at the first column:
Apple
Bannana
Carrot
Ακτινίδιο
Βερίκοκο
ΓερμάςSo, it will exist two columns
a. A, B, C
b. Α, Β, ΓHi,
ah, I see. This is tricky, I’m afraid, you would kind of have to duplicate the alphabet search bar. But I don’t know if that can be changed to support searching on a second column 🙁
Regards,
TobiasHey Tobias!!
It would not be a problem if I duplicate the search bar. I do not want to search to a second column. Search is taking place at the same column where co-exist latin and greek words!
Can you give any hint how to duplicate the search bar and make it to search also greek characters?
Thanks!
-
This reply was modified 9 years, 1 month ago by
MasterJuan.
-
This reply was modified 9 years, 1 month ago by
The topic ‘Filter with alphabetical order instead of drop-down menu’ is closed to new replies.