File

device-grid/columns/base.filtering-form-renderer.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods
HostListeners

Constructor

constructor(context: FilteringFormRendererContext, jsonschema: C8yJSONSchema)
Parameters :
Name Type Optional
context FilteringFormRendererContext No
jsonschema C8yJSONSchema No

HostListeners

keydown.enter
Arguments : '$event'
keydown.enter(event: KeyboardEvent)
keydown.escape
Arguments : '$event'
keydown.escape(event: KeyboardEvent)

Methods

applyFilter
applyFilter()
Returns : void
ngOnInit
ngOnInit()
Returns : void
onEnterKeyDown
onEnterKeyDown(event: KeyboardEvent)
Decorators :
@HostListener('keydown.enter', ['$event'])
Parameters :
Name Type Optional
event KeyboardEvent No
Returns : void
onEscapeKeyDown
onEscapeKeyDown(event: KeyboardEvent)
Decorators :
@HostListener('keydown.escape', ['$event'])
Parameters :
Name Type Optional
event KeyboardEvent No
Returns : void
resetFilter
resetFilter()
Returns : void

Properties

Public context
Type : FilteringFormRendererContext
fields
Type : FormlyFieldConfig[]
form
Type : FormGroup
Public jsonschema
Type : C8yJSONSchema
model
options
schema
<formly-form [form]="form" [fields]="fields" [model]="model"></formly-form>
<div class="data-grid__dropdown__footer d-flex separator-top">
  <button
    class="btn btn-default btn-sm m-r-8 flex-grow"
    (click)="resetFilter()"
    title="{{ 'Reset' | translate }}"
    translate
  >
    Reset
  </button>

  <button
    class="btn btn-primary btn-sm flex-grow"
    (click)="applyFilter()"
    [disabled]="(form.pristine && form.untouched) || form.invalid"
    title="{{ 'Apply' | translate }}"
    translate
  >
    Apply
  </button>
</div>

results matching ""

    No results matching ""