dynamic read only
dynamic read only

There are times I want the user to be able to open the editor (because it has more fields displayed than the data table) but I don't want them to be able to update anything. Is there a way to remove the 'Update' button or changing the action of the update button to close without saving?
If (readOnly==1) {
//remove or change update button
}
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use the
formButtons
to do that - this example here should get you going.Colin
perfect: