Hi, I'm using a temporary table on a SimpleList form to create a grid on which the data is edited.
I've created a new 'SAVE' button on the action pane which will take the contents of the temporary table and update a more normalized permanent table.
It makes sense to edit the data in a grid (by clicking on the cell which puts it in edit mode but it's a bit confusing to have 2 save buttons on the action pane.
Is there anyway I can hide the standard edit/save button but still edit the data in the grid by clicking on the cells?
If your logic should run when saving an individual row, why you don't you simply keep the standard button in place and just run your logic on saving? E.g. in insert() and update() methods of your temporary table?
Maybe you want the user allow to change several rows and then apply all the changes to the persistent table at once, but than it's a different operation than "Save" and it should have a different name.
Your custom button should not be Save. You could give it a name Update XYZ.
That would take away the notion of having two Save buttons.
If this helped you, I would appreciate it if you would mark this as a Verified Answer, which may in turn help others as well.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.