I'm using inline editing. I don't have any code implemented yet, because first I need to know if this is possible. Let's suppose I have the example code
colModel:[ {name:'id',index:'id', width:55},{name:'invdate',index:'invdate', width:90, editable:true}, {name:'name',index:'name', width:100,editable:true}, {name:'amount',index:'amount', width:80, align:”right”,editable:true}, {name:'tax',index:'tax', width:80, align:”right”,editable:true}, {name:'total',index:'total', width:80,align:”right”,editable:true}, {name:'note',index:'note', width:150, sortable:false,editable:true} ],
In this example, the field 'name' is editable, so it will be passed to the server (a struts action in my particular case) through the request.
If the field “id” is the PK of my table, how can I pass it to the server script without making it editable?
Now, let's suppose the PK of my table is formed by two attributes, let's say 'name' and 'tax'. How can I pass these two without making them editable? Even more, how can I pass them without showing them to the user in the table? (as they conform the primary key of the table, I don't want the user neither modify them nor even view them).
I hope this helps to clarify my question… thanks in advance
Regards