Documents for Excel, Java Edition Documentation
com.grapecity.documents.excel Package / ISlicerCaches Interface / add Method / add(Object,String,String) Method
The data source that the new ISlicerCache will be basedon.
The name of the field in the data source to filter by.
The name uses to reference the slicer cache (the name property of the ISlicerCache).
In This Topic
    add(Object,String,String) Method
    In This Topic
    Adds a new ISlicerCache object to the collection.
    Syntax
    ISlicerCache add( 
       java.lang.Object source,
       java.lang.String sourceField,
       java.lang.String name
    )

    Parameters

    source
    The data source that the new ISlicerCache will be basedon.
    sourceField
    The name of the field in the data source to filter by.
    name
    The name uses to reference the slicer cache (the name property of the ISlicerCache).

    Return Value

    See Also