Close CRUD Editor Programatically

Hi this is my first time using CRUD. I have a use case where I need to close the crud editor programmically. I check the javadocs and can’t locate a method for it. Is there a workaround? Thanks.

if (val == null) {
// Cancel active editing and close the Crud editor overlay/drawer
crud.getEditor().clear();
}
filterProvider.refreshAll();

There is a method for

crud.setOpened(false);

I am so embarassed :-). Thank you!!!

1 Like