Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

121
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda