SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.invalidateLayout  method

Request to recalculate and rearrange the size and location of grid components and redraw the grid. 

When only request to redraw without column arrangement, you can call invalidate. In most cases, if should enable to draw the grid again, you can call refreshView

function invalidateLayout ();
Returns
Void
Code -1
    $('btnRefresh').click(function () {
        grid.invalidateLayout();
    });
See Also
invalidate
refreshView
Examples
Hello Grid