SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.beginUpdate  method

If call this method, it will not reflect the change to style owner even if the properties have been changed until calling endUpdate. It can be used when change several style values at the same time. 

function beginUpdate ();
Returns
Void
Code -1
    var styles = column.styles();
    styles.beginUpdate();
    try {
        styles.setBackground($('#background').val());
        styles.setForeground($('#foreground').val());
        ...
    } finally {
        styles.endUpdate();
    }    
See Also
endUpdate
Styles Overview
Examples
Column Styles