Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

121
Vistas
How to use filtering in datatable server side processing joined tables?

I am trying to find a way to use filter of datatable server side processing joined tables but not working well. If you have good experience of its, Please help me.

This is column structure.

$columns = array(
    array('db' => 'date', 'dt' => 'td_date'),
    array(
        'db' => 'user_id',  'dt' => 'td_username',
        'formatter' => function ($d, $row) {
            $p_general = new General();
            $userInfo = $p_general->getValueOfAnyTable('users', 'id', '=', $d);
            $userInfo = $userInfo->results();
            return  $userInfo[0]->name;
        }
    ),
    array('db' => 'event',   'dt' => 'td_event',),
    array('db' => 'plant_UID', 'dt' => 'td_UID_text',),
    array(
        'db' => 'note', 'dt' => 'td_note',

    ),

);

This(below) is working about another fields but not working about "username".

$("#col1_filter").keyup(function() {
            var value = $("col1_filter").val();
            if (table.columns(3).search() !== value) {
                           table.columns(0).search(value).draw();
                    }
        });
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda