Posted 14 September 2022, 10:51 pm EST
Hi team!
can i get options object without overriding the filter functionality. if i override the functionality i’m unable to filter the data . but i need both i.e get options object when we apply filter and also should filter the data in sheet.
let old2 = GC.Spread.Sheets.Commands.filterByCondition.execute;
GC.Spread.Sheets.Commands.filterByCondition.execute = function(spread,options){
if(options.cmdOption.condition._ps.conType === GC.Spread.Sheets.ConditionalFormatting.ConditionType.textCondition){
console.log(“filterByCondition got called”,options);
}