Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IRange Interface / autoFilter Method / autoFilter(int,Object) Method
Optional Object. The integer offset of the field on whichyou want to base the filter (from the left of the list; the leftmost field is field zero).
Optional Object. The criteria (a string; for example,"101"). Use "=" to find blank fields, or use " @literal:<>" to find nonblank fields. If this argument is omitted, the criteria is All. If Operator is xlTop10Items, Criteria1 specifies the number of items (for example, "10").
In This Topic
    autoFilter(int,Object) Method
    In This Topic
    Filters a list using the AutoFilter.
    Syntax
    void autoFilter( 
       int field,
       java.lang.Object criteria1
    )

    Parameters

    field
    Optional Object. The integer offset of the field on whichyou want to base the filter (from the left of the list; the leftmost field is field zero).
    criteria1
    Optional Object. The criteria (a string; for example,"101"). Use "=" to find blank fields, or use " @literal:<>" to find nonblank fields. If this argument is omitted, the criteria is All. If Operator is xlTop10Items, Criteria1 specifies the number of items (for example, "10").
    See Also