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
Nick Gamora - Would you mind explaining why you're looking to disable this? PJ Haftbaradaran from our UX team wrote New and Improved flexible dashboards a few months back explaining some of these updates. In previous versions, users could re-arrange the dashlets, but couldn't resize them. In the new experience, the option to resize them was added, but it just gives more flexibility to users to configure their individual experiences. Is it negatively affecting something for you or your users? Thank you!
Alex Nassi
Digital CX Operations Director
SugarCRM
Hi, Alex Nassi, this is just a requirement of my client.
This might be one of those "dear client, thank you for your request but let me enlighten you" situation :)
I second Alex's point that the new dashboard are a vast improvement over the previous versions. There is still (a lot of) room, but that's a good step.
When we get requests for such changes, we tend to insist on the cost of both implementing the change AND of maintaining it in future versions. The ROI is often bad :)
Damien Pochon
CRM & Digital consultant @ ITS4U Group
Hello all,
Just to give some context, the problem with the resizable dashlets is that they are causing a very annoying behavior for users that work with a mouse without a scroll wheel or the ability to scroll using a mouse pad.
This prevents them to scroll inside the dashlet.
You can check the defect information here #86435
Tevfik's approach offers a perfect workaround while the defect is not fixed.
Thanks again Tevfik Tümer.
Thank you!!!!! This solved the task!!!