I have the following code to show my results in a table, I am wondering, how I can change it to be able to edit the records?
I want to edit records and sort based on specific column, currently I can sort them but I do not know how to edit them.
<display:table id="txt" name="employees" requesturi="" pagesize="10" cellpadding="2px;" cellspacing="2px;" style="margin-left:450px;margin-top:20px;">
<display:column property="employeeCode" title="Employee Code" sortable="true"></display:column>
<display:column property="employeeName" title="Employee Name" sortable="true"></display:column>
<display:column property="department" title="Department" sortable="true"></display:column>
<display:column property="salary" title="Salary" sortable="true"></display:column>
</display:table>
I've found the following code as well but I am wondering if there is any other approach to the issue?