Skip to content

Commit ab129c0

Browse files
authored
Merge pull request yajra#131 from SamDeimos/patch-1
Set column responsive priority.
2 parents 7009a1a + 6cc4286 commit ab129c0

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)