File

projects/aoc-client/components/aoc-grid/aoc-grid/aoc-grid.component.ts

Implements

OnInit OnDestroy AfterContentInit

Metadata

Index

Properties
Inputs
Outputs
HostBindings
Accessors

Constructor

constructor(aocUiPlatformService: AocUiPlatformService, restService: AocRestService, deleteService: AocDeleteService, aocUiWindowDynService: AocUiWindowDynService, cd: ChangeDetectorRef, aocFormWindowService: AocFormWindowService, aocMisc: AocMisc, aocUiWindowDynRef: AocUiWindowDynRef, l: AocUiLoggerDirective, aocGridPaginatorRowLimitOptions: AocUiPaginatorRowLimitOptions, aocGridAutoSelectFirst: boolean)
Parameters :
Name Type Optional
aocUiPlatformService AocUiPlatformService No
restService AocRestService No
deleteService AocDeleteService No
aocUiWindowDynService AocUiWindowDynService No
cd ChangeDetectorRef No
aocFormWindowService AocFormWindowService No
aocMisc AocMisc No
aocUiWindowDynRef AocUiWindowDynRef No
l AocUiLoggerDirective No
aocGridPaginatorRowLimitOptions AocUiPaginatorRowLimitOptions No
aocGridAutoSelectFirst boolean No

Inputs

addSearchInput
Type : boolean | "true if model config payload"
Default value : 'true if model config payload'
autoExpandAllRows
Type : boolean
Default value : false
autoSelectFirst
Type : boolean
buttonConfig
Type : AocGridToolbarButtonConfig
columns
Type : AocGridColumn[]
customSort
Type : function
dynamicFormGroupConfig
Type : AocDynFormGroup
Default value : {}
emptyGroupDescriptor
Type : any
Default value : $localize`:@@AOC_GRID_NO_GROUP:No group`
groupColumns
Type : AocGridGroupColumn[][]
Default value : []
groupConfig
Type : AocGridGroupConfig<any>
modelConfig
Type : AocModelConfig<T>
modelEmitter
Type : AocModelEmitter<AocModel>
modelListener
Type : AocModelListener<AocModel>
restOptions
Type : AocRestOptions
rowLimits
Type : AocUiPaginatorRowLimitOptions
rowNgClass
Type : AocGridRowNgClass<AocModel>
rowNgStyle
Type : AocGridRowNgStyle<AocModel>
searchInputPlaceholder
Type : any
Default value : $localize`:@@AOC_GRID_SEARCH:Search...`
selectionStyle
Type : "normal" | "checkbox"
Default value : 'normal'
selectMode
Type : "single" | "multiple"
Default value : 'multiple'
where
Type : AocFilterQuery

Outputs

loadingChange
Type : EventEmitter<boolean>
modelsChange
Type : EventEmitter<T[]>
restOptionsChange
Type : EventEmitter<AocRestOptions>
selectionChange
Type : EventEmitter<T[]>
whereChange
Type : EventEmitter

HostBindings

style
Type : literal type

Properties

aocUiToolbarTemplates
Type : QueryList<AocUiToolbarDirective>
Decorators :
@ContentChildren(AocUiToolbarDirective)
cellTemplateDirectives
Type : QueryList<AocGridCellDirective>
Decorators :
@ContentChildren(AocGridCellDirective)
groupTemplateDirectives
Type : QueryList<AocGridGroupDirective>
Decorators :
@ContentChildren(AocGridGroupDirective)
Optional mobileResizedStyle
Type : literal type
Decorators :
@HostBinding('style')
paginator
Type : AocUiPaginatorComponent
Decorators :
@ViewChild(AocUiPaginatorComponent)
rowExpansionTemplate
Type : AocUiTableTemplateDirective
Decorators :
@ContentChild(AocUiTableTemplateDirective)
table
Type : AocUiTableComponent
Decorators :
@ViewChild('table', {static: true})

Accessors

where
getwhere()
setwhere(aocFilterQuery: AocFilterQuery)
Parameters :
Name Type Optional
aocFilterQuery AocFilterQuery No
Returns : void
restOptions
getrestOptions()
setrestOptions(restOptions: AocRestOptions)
Parameters :
Name Type Optional
restOptions AocRestOptions No
Returns : void
columns
getcolumns()
setcolumns(cols: AocGridColumn[])
Parameters :
Name Type Optional
cols AocGridColumn[] No
Returns : void
groupConfig
getgroupConfig()
setgroupConfig(groupConfig: AocGridGroupConfig<any>)
Parameters :
Name Type Optional
groupConfig AocGridGroupConfig<any> No
Returns : void

results matching ""

    No results matching ""