I am trying to make one column editable ONLY when creatting new, while another column must remain editable all the time.
I tried this:
model: {
id: "name",
fields: {
name: {
editable: {
create: true,
update: false
},
nullable: false
},
ttl: {
editable: {
create: true,
update: true
},
type: "number",
defaultValue: 7,
validation: {
required: true,
min: 1
}
}
}
}
Along with a destroy column and this:
editable: {
destroy: true,
confirmation: "Are you sure you want to remove the application? \n\nRemember to press Save, when finished."
},
Is it possible - perhaps via some hacking?