Skip to content

Commit 8a1fdeb

Browse files
authored
Merge pull request #2981 from thureos/patch-2
feat: Expose autoFilter setter to disable post filtering for already filter…
2 parents ac3f4ea + 643afe6 commit 8a1fdeb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/DataTableAbstract.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,18 @@ public function skipPaging(): static
592592
return $this;
593593
}
594594

595+
/**
596+
* Skip auto filtering as needed.
597+
*
598+
* @return $this
599+
*/
600+
public function skipAutoFilter(): static
601+
{
602+
$this->autoFilter = false;
603+
604+
return $this;
605+
}
606+
595607
/**
596608
* Push a new column name to blacklist.
597609
*

0 commit comments

Comments
 (0)