Skip to content

Print Specific Columns. How can I get $excludeFromPrint=[] array value dynamically from colvis. I am using InfyOm generator and Yajra Datatable #176

Open
@skabirgithub

Description

@skabirgithub

Summary of problem or feature request

Print Specific Columns. How can I get $excludeFromPrint=[] array value dynamically from colvis. I am using InfyOm generator and Yajra Datatable

Code snippet of problem

protected $excludeFromPrint = [];

protected function getPrintColumnsFromBuilder()
{
    return $this->html()->removeColumn(...$this->excludeFromPrint)->getColumns();
}

System details

  • Operating System
  • PHP Version
  • Laravel Version
  • Laravel-DataTables Version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions