File

core/data-grid/legacy-grid-config-mapper.service.ts

Index

Properties
Methods

Constructor

constructor(userPreferencesService: UserPreferencesService, dataGridService: DataGridService)
Parameters :
Name Type Optional
userPreferencesService UserPreferencesService No
dataGridService DataGridService No

Methods

getConfigColumns
getConfigColumns(legacyConfig: LegacyColumnConfig[], legacyFilterConfig: LegacyColumnFilterConfig, defaultColumns: Column[])
Parameters :
Name Type Optional
legacyConfig LegacyColumnConfig[] No
legacyFilterConfig LegacyColumnFilterConfig No
defaultColumns Column[] No
Returns : any
getMappedGridConfig
getMappedGridConfig(context: GridConfigContext)
Parameters :
Name Type Optional
context GridConfigContext No
mapLegacyColumnConfig
mapLegacyColumnConfig(legacy)
Parameters :
Name Optional
legacy No
Returns : CustomColumnConfig
mapLegacyToDeviceGridConfig
mapLegacyToDeviceGridConfig(legacyConfig: LegacyColumnConfig[], legacyFilterConfig: LegacyColumnFilterConfig, defaultColumns: Column[])
Parameters :
Name Type Optional Default value
legacyConfig LegacyColumnConfig[] No
legacyFilterConfig LegacyColumnFilterConfig No
defaultColumns Column[] No []
Returns : GridConfig
mergeLegacyConfigs
mergeLegacyConfigs(columnConfig, filterConfig)
Parameters :
Name Optional
columnConfig No
filterConfig No
Returns : any
migrateSortOrder
migrateSortOrder(sorting)
Parameters :
Name Optional
sorting No
Returns : "" | "desc" | "asc"

Properties

Static deviceGridLegacyKeyToName
Type : object
Default value : { status: 'status', name: 'name', model: 'model', serialNumber: 'serialNumber', group: 'group', registrationDate: 'registrationDate', systemId: 'systemId', imei: 'imei', alarms: 'alarms' }

results matching ""

    No results matching ""