SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.endUpdate  method

It will be called together with beginUpdate to avoid to request rendering again during changing several grid properties. 

function endUpdate (force: Boolean);
Returns
Void
Parameters
force - Boolean.
Code -1
    grid.beginUpdate();
    try {
        // These two functions will be called from most properties or functions which change grid contents.
        grid.invalidate();
        grid.invalidateLayout();
    } finally {
        grid.endUpdate();
    }    
See Also
beginUpdate
refreshView