to hide table data
-
Do not appear under search space. to make calls and view data.
just look at the data below after the search. Here’s how my secrets are.
-
Hi,
thanks for your post, and sorry for the trouble.
Sorry, I don’t understand your question 🙁
Regards,
Tobiassory. ı m speak Turkish..
normal search : https://image.ibb.co/m9BU7H/normal.jpg
me searc :https://image.ibb.co/kzutZx/search.jpg
I just want to be a search box. write neat data. show me the results found in the table.
I do not show me results in the search box without writing data. only the search box appears. If there is a result in the table, the result is that I am looking for it.
example: like searching within the regular web.
Hi,
ah, ok. Now I understand 🙂 For this, you could use the approach from https://wordpress.org/support/topic/i-want-the-table-to-be-invisible-until-filter-is-applied/
Regards,
TobiasI installed the tablepress-datatables-inverted-filter plug-in. but I could not solve the problem. What I did did not happen. please help me.
The illustrated visual description can be a good problem solver.
Hi,
just installing is not enough. You need to perform the steps from https://wordpress.org/support/topic/i-want-the-table-to-be-invisible-until-filter-is-applied/#post-4272342
Regards,
TobiasI followed the steps. I deleted old codes and added new ones instead. There was no change. same.
Hi,
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ı m send email. your email adress send please.
Hi,
it’s in the main plugin file “tablepress.php”.
Regards,
Tobiasokey. I m send email.
Hi,
thanks! I’ll take a look as soon as possible.
Regards,
TobiasPlease tell me. my table code: [table id = 1 /]
I would add it to where.
`function tablepress_datatables_inverted_filter( $commands ) {
// Only use this functionality on these pages:
if ( ! is_page( array( ‘page-slug-1’, ‘page-slug-1’ ) ) ) {
return $commands;
}$commands = <<<JS
$.fn.dataTableExt.afnFiltering.push(
function( settings, data, dataIndex ) {
return ” !== settings.oPreviousSearch.sSearch;
}
);
{$commands}
$( ‘.dataTables_filter’ ).find( ‘input’ ).on( ‘keyup’, function() {
$( ‘.dataTables_wrapper’ ).find( ‘.tablepress’ ).toggle( ” !== $( this ).val() );
} ).keyup();
JS;return $commands;
-
This reply was modified 7 years, 10 months ago by
kutaahya.
handsome man. I am very happy 🙂 I am helped.
the clever secret is to click on the page and disappear and look very brief. why does it do it.
Hi,
good to hear that it’s working now!
It simply takes a little bit of time for the JS code to run. That’s why you see it briefly.
Best wishes,
Tobias -
This reply was modified 7 years, 10 months ago by
The topic ‘to hide table data’ is closed to new replies.