Hi All,
I want to close/hide by default sidebar pane for all modules, please have a look on below screen shots.
Thanks,
Shyam
Hi Shyam Gaikwad,
You can close sidebar using modifying record.js initialize method.
I created a record.js into custom/clients/base/views/record/ folder with following code;
({
extendsFrom: "RecordView",
initialize: function(options) {
this._super('initialize', [options]);
var defaultLayout = this.closestComponent('sidebar');
if (defaultLayout && defaultLayout.isSidePaneVisible() ) {
defaultLayout.trigger('sidebar:toggle');
}
}
})
Best Regards
Tevfik Tümer
Developer Support Engineer
Thank you Emil Maran & Tevfik Tümer, this is what I am looking for.......
Thank you Emil Maran & Tevfik Tümer, this is what I am looking for.......