projects/aoc-client/components/aoc-grid/aoc-grid/aoc-grid.component.ts
OnInit
OnDestroy
AfterContentInit
encapsulation | ViewEncapsulation.None |
host | { |
selector | aoc-grid |
standalone | true |
imports |
AocGridToolbarComponent
AocUiTableComponent
AocObserveVisibilityDirective
AocUiTooltipDirective
NgForOf
AocUiTableTemplateDirective
AocUiTableRowExpanderHeaderDirective
AocUiTableCheckboxComponent
NgIf
AocUiTableResizableColumnDirective
AocUiTableSortableColumnDirective
AocUiTableSelectableRowDirective
NgStyle
NgClass
AocUiTableRowExpanderTogglerComponent
NgTemplateOutlet
AocUiTableRowExpanderContentDirective
AocUiPaginatorComponent
AocUiResolveDisplayPipe
AocUiIsDisplayTemplate
AocGridRowNgClassPipe
AocGridRowNgStylePipe
|
templateUrl | ./aoc-grid.component.html |
Properties |
Inputs |
Outputs |
HostBindings |
Accessors |
constructor(aocUiPlatformService: AocUiPlatformService, restService: AocRestService, deleteService: AocDeleteService, aocUiWindowDynService: AocUiWindowDynService, cd: ChangeDetectorRef, aocFormWindowService: AocFormWindowService, aocMisc: AocMisc, aocUiWindowDynRef: AocUiWindowDynRef, l: AocUiLoggerDirective, aocGridPaginatorRowLimitOptions: AocUiPaginatorRowLimitOptions, aocGridAutoSelectFirst: boolean)
|
||||||||||||||||||||||||||||||||||||
Parameters :
|
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
|
loadingChange |
Type : EventEmitter<boolean>
|
modelsChange |
Type : EventEmitter<T[]>
|
restOptionsChange |
Type : EventEmitter<AocRestOptions>
|
selectionChange |
Type : EventEmitter<T[]>
|
whereChange |
Type : EventEmitter
|
style |
Type : literal type
|
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})
|
where | ||||||
getwhere()
|
||||||
setwhere(aocFilterQuery: AocFilterQuery)
|
||||||
Parameters :
Returns :
void
|
restOptions | ||||||
getrestOptions()
|
||||||
setrestOptions(restOptions: AocRestOptions)
|
||||||
Parameters :
Returns :
void
|
columns | ||||||
getcolumns()
|
||||||
setcolumns(cols: AocGridColumn[])
|
||||||
Parameters :
Returns :
void
|
groupConfig | ||||||
getgroupConfig()
|
||||||
setgroupConfig(groupConfig: AocGridGroupConfig<any>)
|
||||||
Parameters :
Returns :
void
|