To refresh the datasource in form once the menu button closed, we need to write the code below at the menubutton > closedOk method.
public void closeOk()
{
#Task
FormRun formRun;
super();
// Get an instance of the calling form.
formRun = element.args().caller();
// If the caller is a form, refresh that form.
if(formRun)
{
formRun.task(#taskF5);
}
}
No comments:
Post a Comment