search/search.service.ts
Properties |
Methods |
constructor(deviceGridService: DeviceGridService, assetNodeService: AssetNodeService)
|
|||||||||
Parameters :
|
buildCombinedRootQueryFilter | |||||||||
buildCombinedRootQueryFilter(columns: Column[], pagination: Pagination)
|
|||||||||
Parameters :
Returns :
any
|
Async getData | ||||||||||||
getData(columns: Column[], pagination: Pagination, text?: string)
|
||||||||||||
Parameters :
Returns :
unknown
|
getDefaultActionControls |
getDefaultActionControls()
|
Returns :
ActionControl[]
|
getDefaultBulkActionControls |
getDefaultBulkActionControls()
|
Returns :
BulkActionControl[]
|
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
|
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'
|