Skip to content

Commit 7202a2b

Browse files
authored
Merge pull request #142 from gredimano/Patch1
Add button customize option value.
2 parents f9e640b + 835bd9a commit 7202a2b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Html/Button.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,20 @@ public function className($value)
142142
return $this;
143143
}
144144

145+
/**
146+
* Set customize option value.
147+
*
148+
* @param string $value
149+
* @return $this
150+
* @see https://datatables.net/reference/button/excelHtml5
151+
*/
152+
public function customize($value)
153+
{
154+
$this->attributes['customize'] = $value;
155+
156+
return $this;
157+
}
158+
145159
/**
146160
* Append a class name to column.
147161
*

0 commit comments

Comments
 (0)