device-grid/columns/base.filtering-form-renderer.component.ts
Use import { BaseFilteringFormRendererComponent } from '@c8y/ngx-components';
instead.
CoreBaseFilteringFormRendererComponent
templateUrl | ../../core/data-grid/column/base.filtering-form-renderer.component.html |
<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>