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

Open

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' ])

Activity

  1. sansxd commented on Apr 21, 2022

    @sansxd
    Author

    Captura de pantalla de 2022-04-21 15-26-36

    i try search certifica... but show nothing

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions