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,