I have a dhtmlxWindow with some content and some of that is a dhtmlxGrid.
In IE the grid shows up nicely as supposed to, but in both Firefox and Chrome the grid doesn’t show as supposed to.
dhxWins.window(‘win_manage_mail_notifications’).setText(‘Mail Notificeringer’);
dhxWins.window(‘win_manage_mail_notifications’).denyResize();
dhxWins.window(‘win_manage_mail_notifications’).button(‘park’).hide();
dhxWins.window(‘win_manage_mail_notifications’).button(‘minmax1’).hide();
dhxWins.window(‘win_manage_mail_notifications’).button(‘minmax2’).hide();
dhxWins.window(‘win_manage_mail_notifications’).setModal(true);
dhxWins.window(‘win_manage_mail_notifications’).center();
dhxWins.window(‘win_manage_mail_notifications’).keepInViewport(true);
dhxWins.window(‘win_manage_mail_notifications’).setIcon(‘App-mailreminder-icon.png’, ‘App-mailreminder-icon.png’);
dhxWins.window(‘win_manage_mail_notifications’).attachURL(‘ldd_manage_mail_notifications.html’);[/code]
The attached html page contains the previous code.
An event handler on window-content-loaded performs an async call to a service which retrieves the rows for the grid and when that call returns, the grid is populated with the parse() method.
If I insert the mygrid.setSizes() after the parse() call (which would be the proper location I guess) nothing changes - the results are still as shown on the pictures.