Column::DisableFilter

 

Description

Enable/Disable the filter

Syntax

void DisableFilter( BOOL bDisable )

Parameters

bDisable
[input] TRUE to disable the filter

Return

Examples

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);
}

Remark

See Also

Worksheet::RunFilter

header to Included

origin.h