Вы можете иметь кнопку редактирования в последней ячейке каждой строки
<input type="button" calss="edit" value="Edit" />
При нажатии этой кнопки получить все данные о ячейках этой строки и передать их в диалоговое окно.
$("input.each").click(function(){
var tr = $(this).closes("tr");
var data = [];
tr.find("td:not(:last)").each(function(){
data.push($(this).text());
});
//Here open the dialog box which will have the required fields and using the above data array populate the data fields as required
//Lets say the first column in the table is for "Name"
//You can populate the input "Name" field in the dialog box as.
$("input[name=Name]").val(data[0]);
//Similarly populate all the data fields using data array
});
Диалоговое окно также будет иметь кнопку Save
, при нажатии которой будут обновляться ячейки текущей строки с отредактированными данными.