Вы можете использовать Tabledit.js .
<script th:src="@{[javascript_folder_path]/jquery.tabledit.js}"></script>
<script type="text/javascript">
$('#tableEdit').Tabledit({
url: "your_controller",
//saveButton: false,
columns: {
//identifier is used as a unique id for passing your id for db operation
identifier: [0, 'id'],
//Only include those fields that you want to make editable here.
editable: [[0, 'id'], [1, 'description'], [2, 'entity'], [3, 'long'], [4, 'lat'], [5, 'type'], [6, 'solved']]
}
});
$('#tableEdit').editableTableWidget().numericInputExample().find('td:first').focus();
$('#textAreaEditor').editableTableWidget({editor: $('<textarea>')});
window.prettyPrint && prettyPrint();
</script>