Enable/Disable the filter
void DisableFilter( BOOL bDisable )
EX1
//please add data filter to the active worksheet's first column void DisableFilter_ex(BOOL bDisable) { Worksheet wks = Project.ActiveLayer(); if(!wks) return; Column col(wks, 0); col.DisableFilter(bDisable); wks.RunFilter(QUERY_FILTER_ACT_HIDE_NOT_MATCHED, -1, -1, true); }
Worksheet::RunFilter
origin.h