SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.resetSize  method

Since current browsers only provide size change event in browser level, sometimes they cannot automatically change when the size of grid should be changed, and if call this method, the size of grid will be adjusted to grid container. 

function resetSize ();
Returns
Void
Code -1
    document.getElementById('layout').onlayout = function () {
        grid.resetSize();
    });
See Also
refreshView
Examples
Hello Grid