How to show only one dropdown option in jqgrid edit
I am making a table using jqgrid, where there is field called Status where I added dropdown where I want user to only change rejected ones to accepted, there should be no "Rejected" option in dropdown
But the problem is when i remove "Rejected" option that values get removed from table
{
key: false,
name: 'Status',
index: 'Status',
editrules: { required: true },
editable: true,
formatter: 'select',
edittype: 'select',
editoptions: { value: "Accepted:Accepted;Rejected:Rejected" }
// editoptions: { value: "Accepted:Accepted" } <--this line removes the rejecetd ones from table
}