I have a grid named “grid_user”. I rule.
In onApplicationInit event, I call sc_apl_conf(“grid_user”, “insert”, “off”);
All by itself. No tests, no comparisons.
According to the documentation, this should turn off the “Add New” button. It doesn’t appear to do anything. It also does nothing in the onScriptInit event, also documented as being a valid scope for the macro.
SC [SIZE=12px]8.1.015, Ubuntu 14.04.3, Chrome[/SIZE]
Can someone give me a workaround to programmatically turn the Add New button on/off on a grid app, of do I have to add a custom button?