Is it possible to modify an existing view, more specific adding GroupBy, using JavaScript / JSOM? I am creating the library using JavaScript and I'd like to add a GroupBy in the "all items" default view.
var myView = this.list.get_views().getByTitle("All items");
myView.add(...?)