Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27668a8

Browse files
committed
Add renderRaw method to set render value as is.
1 parentca0c44d commit27668a8

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
@@ -437,6 +437,20 @@ public function render($value)
437437
return$this;
438438
}
439439

440+
/**
441+
* Set column renderer with give raw value.
442+
*
443+
* @param mixed $value
444+
* @return $this
445+
* @see https://datatables.net/reference/option/columns.render
446+
*/
447+
publicfunctionrenderRaw($value)
448+
{
449+
$this->attributes['render'] =$value;
450+
451+
return$this;
452+
}
453+
440454
/**
441455
* Parse render attribute.
442456
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp