Bill Richardson

Results comments of Bill Richardson

Use the editTemplate function when defining the fields. In that function, determine whether the row should be editable or not, and set readonly to true or false accordingly: fields: [...

Set editing: true on grid, set editing: false on any field you don't want to be editable. Then use onItemEditing function: $("#jsGrid").jsGrid({ width: "100%", inserting: false, editing: true, sorting: false,...

I've answered my own question,,, use onItemEditing: onItemEditing: function(args) { if(args.item.additionalfield == false) { args.cancel = true; } },