We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389bbdf commit c84ddcdCopy full SHA for c84ddcd
src/Html/Options/Plugins/ColumnControl.php
@@ -86,4 +86,15 @@ public function columnControlSpacer(int|string $target = 1): static
86
87
return $this;
88
}
89
+
90
+ public function columnControlTitle(null|string|array $title = null, int|string $target = 1): static
91
+ {
92
+ if (is_array($title)) {
93
+ $this->addColumnControl($target, [['extend' => 'title', ...$title]]);
94
+ } else {
95
+ $this->addColumnControl($target, [['extend' => 'title', 'text' => $title]]);
96
+ }
97
98
+ return $this;
99
100
0 commit comments