SMART datagrid v1.4 > Classes > GridBase

Back  Forward

DataLudi.GridBase.invalidateLayout  method

그리드 구성 요소들의 크기와 위치를 다시 계산해서 재배치하고, 그리드를 다시 그리도록 요청한다. 

컬럼 배치 등 없이 다시 그리기만 요청할 때는 invalidate를 호출한다. 대개의 경우 그리드를 다시 그리게 할 필요가 있을 때는 refreshView를 호출하면 된다. 

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