Hide SAVE button within a Table record (submitted)

hi, have a Form with table data, i need to hide the Submit button within the table form, some users may read this table but won't be able to update records.

into the BO. object seems not to be reachable this button object, thanks in advance

Lea

PS : made a section with the table'fields and blocked it from typing, but need to hide the button

I am not sure what do you mean... how about this "No Buttons" option?

hi Jan, i need to hide / disable SAVE button within a rable record,

the users can read the main form, access the table records, can´t update fields (because they are into aprotected section), but the SAVE button remains.

Thanks

then you can use action.setVisible(false)

This should work:

var actionButtons = form.getStageActions();
for (var i = 0; i < actionButtons.length; i++) {
    if (get(actionButtons, i).getId() === 'S_MySaveBtn')
        get(actionButtons, i).setVisible(false);
}

hi, it seems you can't use

var actions = form.getStageActions();

within the table's events, only on form's events.

Thanks

thanks Jan, if i put this code into the table's Onshow event :

Maybe you could address the Save button in the table by simply hiding it via CSS?
I know that this is not a secure way, but better than nothing...