Skip to content

Commit 6cc4286

Browse files
authored
Set column responsive priority.
Add attribute responsivePriority
1 parent 00195f3 commit 6cc4286

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Html/Column.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,20 @@ public function orderable(bool $flag = true)
101101

102102
return $this;
103103
}
104+
105+
/**
106+
* Set column responsive priority.
107+
*
108+
* @param int|string $value
109+
* @return $this
110+
* @see https://datatables.net/reference/option/columns.responsivePriority
111+
*/
112+
public function responsivePriority($value)
113+
{
114+
$this->attributes['responsivePriority'] = $value;
115+
116+
return $this;
117+
}
104118

105119
/**
106120
* Set column title.

0 commit comments

Comments
 (0)