<div class="button" id="create-service" (click)="createService()" *ngIf="hasEditRights">Service-Dienstleister anlegen</div>

<form class="searchForm">
    <input type="text" name="search" class="search" (input)="searchFormSubmit($event)" placeholder="Service-Dienstleister suchen" />
    <button class="resetSearch" [hidden]="!resetSearchBtn"></button>
</form>

<div class="ag-grid-box">
    <ag-grid-angular
            style="width: 100%;height: 100%;"
            class="ag-theme-balham"
            [defaultColDef]="defaultColDef"
            [rowData]="rowData"
            [columnDefs]="columnDefs"
            [suppressCellSelection]="true"
            [animateRows]="true"
            [rowSelection]="rowSelection"
            [rowDeselection]="true"
            [rowClassRules]="rowClassRules"
            (gridReady)="onGridReady($event)"
            (rowClicked)="rowClicked($event)"
    >
    </ag-grid-angular>
</div>
