How do you reset a table to display all data after search.

Hi @billyraestewart
The video is not working, + please write a detailed explanation of what exactly you’re trying to achieve.

See if the video works now.

@billyraestewart

Just use $w(’ #dataset1 ').setFilter() to clear it
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#setFilter

Clear a dataset’s filters

import wixData from 'wix-data';

// ...

$w("#myDataset").setFilter( wixData.filter() );

Something like this for example:

// clear sorts and filters to default
export function ClearSortsFiltersButton_onClick(event) {
	  console.log("Attempting to clear sorts and filters");
	  $w("#myCollection").setFilter( wixData.filter() )
	  .then( () => {
  console.log("Dataset is now filtered to default");
} );
      $w("#myCollection").setSort( wixData.sort().descending('myField'))
      .then( () => {
  console.log("Dataset is now sorted to default");
} )
 .catch( (error) => {
    let errorMsg = error.message;
    let code = error.code;
  } );
}

@givemeawhisky Thank you very very much. I will give this a shot.