File

core/data-grid/data-grid.service.ts

Index

Properties
Methods

Constructor

constructor(userPreferencesService: UserPreferencesService)
Parameters :
Name Type Optional
userPreferencesService UserPreferencesService No

Methods

applyConfigToColumns
applyConfigToColumns(config: GridConfig, columns: Column[], storageKey?: string)
Parameters :
Name Type Optional
config GridConfig No
columns Column[] No
storageKey string Yes
Returns : Column[]
clearConfig
clearConfig(key: string)
Parameters :
Name Type Optional
key string No
Returns : void
getConfig$
getConfig$(key: string)
Parameters :
Name Type Optional
key string No
getQueryObj
getQueryObj(columns: Column[], defaultFilter: object)
Parameters :
Name Type Optional Default value
columns Column[] No
defaultFilter object No {}
Returns : any
getUserConfiguredColumns$
getUserConfiguredColumns$(columns: Column[] | Observable<Column[]>, storageKey?: string)
Parameters :
Name Type Optional
columns Column[] | Observable<Column[]> No
storageKey string Yes
Returns : any
saveConfig$
saveConfig$(config: GridConfig, key: string)
Parameters :
Name Type Optional
config GridConfig No
key string No

Properties

Protected DEFAULT_PAGE_SIZE
Type : number
Default value : 20
Protected queriesUtil
Type : QueriesUtil

results matching ""

    No results matching ""