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

120
Vistas
Jquery -Tabledit Editable Cell Select Value Changes to Dropdown 1st value

I have a editable jQuery table using Tabledit. I have successfully added dropdown list to each row when editing, got one issue need to fix, every time a row is edited the dropdown cell value goes to the default fist option [in this case "0": "UNDONE"] , meaning if user changes others cells data and doesn't change the dropdown select value it changes to default fist value in select options. Is there any way to retain existing value of the cell?

$('#sample_data').Tabledit({ 
        url:'tableaction.php',
        dataType:'json',    
        columns:
        {
            identifier : [0, 'id'],  
            editable:[
            [1, 'branch'],
            [2, 'name'],
            [3, 'job'],
            [4, 'jobdetails'],
            [6, 'date'],
            [7, 'status','{"0": "UNDONE", "1": "DONE"}'],
            [8, 'book_Number'] 
            ]
        },
        restoreButton:false,
        deleteButton:false,
        gridTextColor: '#000000',
        gridTextSize: '14',
        select: true,
        hideIdentifier:false,
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