Example #1
0
 public function column($column)
 {
     return Column::make($column['id'])->orderable($column['orderable'] == 'yes')->header(Header::make()->caption($column['header']['caption'])->style($column['header']['style'])->filter(array_key_exists('filter', $column['header']) ? $column['header']['filter'] : false))->class($column['class'])->visible($column['visible'] == 'yes');
 }