The one point is now ok, please how i resolve second point:
2) In the article it is possible to appear only the results of search and not the entire table?
Thanks a lot 😉
Hi,
thanks for your post, and sorry for the trouble as well as for the late reply. I’ve been on holidays and therefore couldn’t reply earlier.
Which search do you mean here? The search above the table only shows the matching results. For a different filtering, you could also take a look at https://tablepress.org/extensions/row-filter/
Regards,
Tobias
Hi Tobias,
thanks a lot for your response.
Here’s what I’d need exactly.
For example if you are looking for these codes in the rows of the tables:
92345
92654
92785
92784
I wish that I appear only the table row that has for example the 92785 code and do not appear all codes if I start writing in the search box 92…
Now if i write 92 appear all rows with the 92 initial code.
I hope I was clear.
I await your solution, thank you 😉
Hi,
I see what you mean. You could then check out the TablePress Extension https://tablepress.org/downloads/extensions/tablepress-datatables-search-enter.zip
Just install and activate that and extend the used Shortcode to
[table id=123 datatables_search_enter=true /]
After that, searching will only be done after pressing “Enter”.
(A user can still search for “92” and see all entries however.)
Regards,
Tobias
Ok perfect Tobias,
now is much better;)
Excuse me, but how can I do to:
1) not display the table at the beginning (when I open the article)
2) Only search in a particular column (not in all columns in the table)
Thank you 😉
Hi,
great!
1) For this, you could take a look at the TablePress Extension from https://ww.wp.xz.cn/support/topic/i-want-the-table-to-be-invisible-until-filter-is-applied?replies=4
Note that you will need a custom modification to add the “Enter” feature again, as those Extensions are not directly compatible.
2) For that, you’ll have to add a “Custom Command” on the table’s “Edit” screen, like
"columnDefs": [ { "orderable": false, "targets": [ 1 ] } ]
This would turn off sorting for the second column, as counting the columns starts with 0 for this code.
Regards,
Tobias
Hi Tobias,
i have tested now only point 1.
I have installed Extension DataTables Inverted Filter but on site appear all rows with dates. How i resolve?
Thanks a lot 😉
Hi,
thanks for your post, and sorry for the trouble.
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!
Regards,
Tobias
Hi Tobias 😉
Please, can you give me your email so I send the data to access also to the panel?
Thanks a lot 😉
Hi,
sure, it’s in the main plugin file “tablepress.php”.
Regards,
Tobias
Thanks a lot Tobias 😉
I send you a mail.
Hi,
thanks! I logged in and made some changes, so that it should work now.
Regards,
Tobias