Created
October 13, 2014 10:48
-
-
Save saaiful/5c04e25e40d506f3e5b5 to your computer and use it in GitHub Desktop.
Modifying Datatable Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
->addColumn('customer',function($model){ | |
return User::find($model->customer)->username." (".$model->customer.")"; | |
}) | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment