Want to hide New and Delete buttons of a form?

There are 2 ways
The first is to override the init method of the form like this
public void init()
{
this.form().design().showNewButton(0);
this.form().design().showDeleteButton(0);
super();
}
the other way is to set the “Show Delete button” and “Show New button” properties to NO, like shown in image below

how to hide Edit button in simple list
LikeLike