SpreadJS Documentation
TableFilterClearing Event
GC.Spread.Sheets Namespace > Events type : TableFilterClearing Event
The sheet that triggered the event.
The sheet's name.
The table column to be automatically filtered.
The index of the table column to be automatically clear filter.
Occurs when a table column is about to be automatically clear filter.
Syntax
var instance; // Type: Events
instance.TableFilterClearing = function(sheet, sheetName, table, tableCol) { };
TableFilterClearing = function ( 
   sheet : Worksheet,
   sheetName : string,
   table : Table,
   tableCol : number
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
table
The table column to be automatically filtered.
tableCol
The index of the table column to be automatically clear filter.
Example
//This example uses the TableFilterClearing event.
activeSheet.tables.add("Table1", 0, 0, 3, 3, GC.Spread.Sheets.Tables.TableTheme.dark1);
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");
activeSheet.bind(GC.Spread.Sheets.Events.TableFilterClearing, function (e, info) {
       alert("Sheet (" + info.sheetName + ")");
});
See Also

Reference

Events type