SpreadJS Documentation
repaint Method
GC.Spread.Sheets Namespace > Worksheet type : repaint Method
The rectangle to repaint.
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