M M

How do I change the max height  of custom dashlets ?

Discussion created by M M on Oct 7, 2015
Latest reply on Jan 2, 2017 by Francesca Shiekh
I am new in sugarcrm.
I try with
HOW TO: Increase Intelligence Pane Height in Sugar7? 
but it doesn't work.

This is my code (hello-world.js) and after rebuild, topic and content are disappear.

({        plugins: ['Dashlet'],
        _render: function(){
             $('.dashlet-content').css('max-height', 'none');
                this.dashletConfig.view_panel[0].height = '620px';
        },
})

SugarCRM Professional, Version 7.5.2.0

What wrong with my code or I miss something?

Thank,
M

Outcomes