SpreadJS 13
GC.Spread.Sheets Namespace / Events type / RangeFilterCleared Event
The sheet that triggered the event.
The sheet's name.
The index of the sheet column has just been clear filtered.
In This Topic
    RangeFilterCleared Event
    In This Topic
    Occurs when a range column has just been clear filtered.
    Syntax
    var instance; // Type: Events
    instance.RangeFilterCleared = function(sheet, sheetName, col) { };
    RangeFilterCleared = function ( 
       sheet : Worksheet,
       sheetName : string,
       col : number
    ) { };

    Parameters

    sheet
    The sheet that triggered the event.
    sheetName
    The sheet's name.
    col
    The index of the sheet column has just been clear filtered.
    Example
    //This example uses the RangeFilterCleared event.
    activeSheet.getCell(0,0).text("Name");
    activeSheet.getCell(0,1).text("Value");
    activeSheet.getCell(0,2).text("T/F");
    activeSheet.getCell(1,0).text("AW");
    activeSheet.getCell(1,1).text("5");
    activeSheet.getCell(1,2).text("T");
    var cellRange =new GC.Spread.Sheets.Range(0, 0, 5, 1);
    var hideRowFilter =new GC.Spread.Sheets.Filter.HideRowFilter(cellRange);
    activeSheet.rowFilter(hideRowFilter);
    activeSheet.bind(GC.Spread.Sheets.Events.RangeFilterCleared, function (e, info) {
            alert("Col (" + info.col + ")");
    });
    See Also

    Reference

    Events type