File

search/search.service.ts

Index

Properties
Methods

Constructor

constructor(deviceGridService: DeviceGridService, assetNodeService: AssetNodeService)
Parameters :
Name Type Optional
deviceGridService DeviceGridService No
assetNodeService AssetNodeService No

Methods

buildCombinedRootQueryFilter
buildCombinedRootQueryFilter(columns: Column[], pagination: Pagination)
Parameters :
Name Type Optional
columns Column[] No
pagination Pagination No
Returns : any
Async getData
getData(columns: Column[], pagination: Pagination, text?: string)
Parameters :
Name Type Optional
columns Column[] No
pagination Pagination No
text string Yes
Returns : unknown
getDefaultActionControls
getDefaultActionControls()
Returns : ActionControl[]
getDefaultBulkActionControls
getDefaultBulkActionControls()
getDefaultColumns
getDefaultColumns()
Returns : Column[]
getDefaultPagination
getDefaultPagination()
Returns : Pagination
resetAppliedFilters
resetAppliedFilters()

Resets the status of applied filters, used during the search. Applies only to filters: 'All', 'Show only devices', 'Show only groups and assets'.

Returns : void

Properties

appliedFilters$
Type : BehaviorSubject<literal type>
Default value : new BehaviorSubject({ allFilters: true, onlyDevices: true, onlyGroupsAndAssets: true })
DEFAULT_PAGE_SIZE
Type : number
Default value : 50
getGlobalSearchData
Default value : this.getSearchData.bind(this)
GRID_CONFIG_STORAGE_KEY
Type : string
Default value : 'search-grid-config'

results matching ""

    No results matching ""