dgrid icon indicating copy to clipboard operation
dgrid copied to clipboard

refresh of grid(autoheight) when it is invisible

Open akaJes opened this issue 9 years ago • 0 comments

just have another issue when grid is invisible open from tests folder Rest.html and append at the end of grid creation and before line https://github.com/SitePen/dgrid/blob/master/test/Rest.html#L79

    window.grid.set('class','dgrid-autoheight');
    document.body.style.display='none';
    window.grid.refresh().then(function(){ 
        document.body.style.display='block'; 
    });

and rows disappear how to resolve it? call <code>refresh()</code> only if grid is visible or there is another way?

akaJes avatar Feb 03 '15 22:02 akaJes