Angular-slickgrid row detail view expand

I am using angular-slickgrid in my angular web app. I need to know if I can expand/collapse a rowdetail view programmatically. I have a button in the row detail view that does something and after that i need to close/collapse the row detail view. Thank you in advance.

Source: New feed
Source Url Angular-slickgrid row detail view expand