How to disable new feature in home page - dashboard - resizing (in shugar 10.3)???
How to disable new feature in home page - dashboard - resizing (in shugar 10.3)???
Hi Nick Gamora,
This can be done by customising dashboard-grid.js.
Locate the code block below to this path: custom/clients/base/layouts/dashboard-grid/dashboard-grid.js
({ extendsFrom: "DashboardGridLayout", initialize(opts){ // Solution #1. Completely disables resize this.defaultElementOptions['noResize'] = true; // Solution #2. Enable only left, bottom left, bottom // this.defaultElementOptions['resizeHandles'] = 's, sw, w'; // Only enables bottom, bottom left left resize. this._super('initialize', [opts]); } })
Then you would need to Navigate to Admin > Repair and Execute Quick Repair and Rebuild.
The dashboard grids should be not resizable.
I've also left you an another solution that resolves the bug on going in 10.3 dashlets. It allows only left, bottom and bottom left side to resize the dashlet.
Hope this helps
Best Regards
Tevfik Tümer
Senior Developer Support Engineer
Hi Nick Gamora,
This can be done by customising dashboard-grid.js.
Locate the code block below to this path: custom/clients/base/layouts/dashboard-grid/dashboard-grid.js
({ extendsFrom: "DashboardGridLayout", initialize(opts){ // Solution #1. Completely disables resize this.defaultElementOptions['noResize'] = true; // Solution #2. Enable only left, bottom left, bottom // this.defaultElementOptions['resizeHandles'] = 's, sw, w'; // Only enables bottom, bottom left left resize. this._super('initialize', [opts]); } })
Then you would need to Navigate to Admin > Repair and Execute Quick Repair and Rebuild.
The dashboard grids should be not resizable.
I've also left you an another solution that resolves the bug on going in 10.3 dashlets. It allows only left, bottom and bottom left side to resize the dashlet.
Hope this helps
Best Regards
Tevfik Tümer
Senior Developer Support Engineer