Filter.Delete

Syntax:

Delete(<Index>)

Parameters:

<Index> (required)

Type: Number.
Index of item to delete.

Description:

Deletes a filtering element for an index.
Caution: The method is not available to filter dynamic lists (Filter object property CatalogList., DocumentList. etc.).

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

// Clear filter
FilterCount = ReportBuilder.Filter.Count();
For 
= 1 To FilterCount Do
    ReportBuilder.Filter.Delete(FilterCount - H);
EndDo
;


    

1C:Enterprise Developer's Community