SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / repaint Method
The rectangle to repaint.
In This Topic
    repaint Method
    In This Topic
    Repaints the specified rectangle.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: any
    value = instance.repaint(clipRect);
    function repaint( 
       clipRect : Rect
    ) : any;

    Parameters

    clipRect
    The rectangle to repaint.
    Example
    This example causes a repaint.
    var cellrange =new GC.Spread.Sheets.Range(0, 0, 5, 1);
    var hideRowFilter =new GC.Spread.Sheets.Filter.HideRowFilter(cellrange);
    sheet.rowFilter(hideRowFilter);
    sheet.resumePaint();
    sheet.repaint();
    See Also

    Reference

    Worksheet type