Open sansxd opened 2 years ago
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' ])
i try search certifica... but show nothing
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' ])