In jqGrid for update/edit to work I have to make primary key columns editable.
But they should be editable only while adding a new record and not while updating an old record.
Is there a way to get around this issue? I guess this must be very common issue, but I did not find any solution to it.
Thanks in advance for helping me out.
I hope that another my answer (having links to two another old answers) will solve your problem.
If you use server base datatype ('json' and 'xml') the server will generate ids always and you don't ever have to make id column editable.