Skip to content

Commit

Permalink
Merge pull request #2981 from thureos/patch-2
Browse files Browse the repository at this point in the history
feat: Expose autoFilter setter to disable post filtering for already filter…
  • Loading branch information
yajra authored Jun 29, 2023
2 parents ac3f4ea + 643afe6 commit 8a1fdeb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/DataTableAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,18 @@ public function skipPaging(): static
return $this;
}

/**
* Skip auto filtering as needed.
*
* @return $this
*/
public function skipAutoFilter(): static
{
$this->autoFilter = false;

return $this;
}

/**
* Push a new column name to blacklist.
*
Expand Down

0 comments on commit 8a1fdeb

Please sign in to comment.