Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Search in translate value of VirtualColumn #985

@sansxd

Description

@sansxd

hi , is posible search with translate value in a virtualcolumn? i try to search but return nothing.

inside getLineFormatter method i have this

match ($rowClass) { 'WORKFLOW' => $rowClass = 'Espacio de Trabajo', 'PERSONAL' => $rowClass = 'Personal', default => $rowClass = 'Sin clasificar' }; $row['sp_classification'] = $rowClass;

and in my buildDatatable i have this

->add('state', VirtualColumn::class, [ 'title' => 'Estado', 'searchable' => true, 'searchable' => true, 'search_column' => 'state' ])

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