filterObjRef()
Home > @gooddata/sdk-model > filterObjRef
filterObjRef() function
Gets reference to object being used for filtering.
Signature:
export declare function filterObjRef(filter: IAbsoluteDateFilter | IRelativeDateFilter | IPositiveAttributeFilter | INegativeAttributeFilter): ObjRef;
Parameters
Parameter | Type | Description |
---|---|---|
filter | IAbsoluteDateFilter | IRelativeDateFilter | IPositiveAttributeFilter | INegativeAttributeFilter | filter to work with |
Returns:
reference to object used for filtering (display form for attr filters, data set for date filters)
Remarks
For attribute filters, this will be reference to the display form. For date filters this will be reference to the data set.