Spread.Sheets Documentation
RangeFiltering Event
The sheet that triggered the event.
The sheet's name.
The index of the column to be automatically filtered.
The values by which to filter the column.
Occurs when a column is about to be automatically filtered.
Syntax
var instance; // Type: Events
instance.RangeFiltering = function(sheet, sheetName, col, filterValues) { };
RangeFiltering = 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 to be automatically filtered.
filterValues
The values by which to filter the column.
Example
This example uses the RangeFiltering 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.RangeFiltering, function (e, info) {    
        alert("Col (" + info.col + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.