Spread.Sheets Documentation
RangeFiltered Event
The sheet that triggered the event.
The sheet's name.
The index of the column that was automatically filtered.
The values by which the column was filtered.
Occurs when a column has just been automatically filtered.
Syntax
var instance; // Type: Events
instance.RangeFiltered = function(sheet, sheetName, col, filterValues) { };
RangeFiltered = function ( 
   sheet : Worksheet,
   sheetName : string,
   col : number,
   filterValues : Array
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
col
The index of the column that was automatically filtered.
filterValues
The values by which the column was filtered.
Example
This example uses the RangeFiltered event.
var cellrange =new GC.Spread.Sheets.Range(0, 2, 5, 1);
var hideRowFilter =new GC.Spread.Sheets.Filter.HideRowFilter(cellrange);
activeSheet.rowFilter(hideRowFilter);

activeSheet.bind(GC.Spread.Sheets.Events.RangeFiltered, function (e, info) {    
        alert("Col (" + info.col + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.