From b5d8f1dbdc702c4ab961fea8c4f4b95f4cbe883f Mon Sep 17 00:00:00 2001
From: RIHTARSIC Joze <joze.rihtarsic@ext.ec.europa.eu>
Date: Fri, 16 Jun 2023 07:35:29 +0200
Subject: [PATCH] Fix flickering of search table on refresh

---
 .../search-table/search-table.component.html  |  1 -
 .../service-group-search.component.ts         | 28 ++++++++++---------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/smp-angular/src/app/common/search-table/search-table.component.html b/smp-angular/src/app/common/search-table/search-table.component.html
index 7ea56530a..40f7043af 100644
--- a/smp-angular/src/app/common/search-table/search-table.component.html
+++ b/smp-angular/src/app/common/search-table/search-table.component.html
@@ -39,7 +39,6 @@
                    [columnMode]="'force'"
                    [headerHeight]="38"
                    [footerHeight]="32"
-                   [rowHeight]="'auto'"
                    [scrollbarH]="true"
                    [scrollbarV]="true"
                    [virtualization]="false"
diff --git a/smp-angular/src/app/service-group-search/service-group-search.component.ts b/smp-angular/src/app/service-group-search/service-group-search.component.ts
index bdd2cddac..f6f7e9c92 100644
--- a/smp-angular/src/app/service-group-search/service-group-search.component.ts
+++ b/smp-angular/src/app/service-group-search/service-group-search.component.ts
@@ -57,41 +57,43 @@ export class ServiceGroupSearchComponent implements OnInit, AfterViewInit, After
   initColumns(): void {
     this.columnPicker.allColumns = [
       {
-        name: 'Subres. size',
+        name: 'Sr. Cnt.',
         prop: 'serviceMetadata.length',
+        width: 90,
+        maxWidth: 90,
+        resizable: 'false',
         showInitially: true,
-        width: 120,
-        maxWidth: 120,
-        resizable: "false",
       },
       {
         name: 'Domain',
-        width: 120,
-        maxWidth: 200,
         prop: 'domainCode',
+        width: 200,
+        maxWidth: 200,
+        resizable: 'false',
         showInitially: true,
       },
       {
         name: 'Resource scheme',
         prop: 'participantScheme',
+        width: 250,
+        maxWidth: 250,
+        resizable: 'true',
         showInitially: true,
-        width: 300,
-        maxWidth: 300,
-        resizable: "false"
       },
       {
         name: 'Resource identifier',
         prop: 'participantIdentifier',
+        width: 500,
+        resizable: 'true',
         showInitially: true,
       },
       {
         cellTemplate: this.rowSMPUrlLinkAction,
         name: 'Resource URL',
+        width: 150,
+        maxWidth: 150,
+        resizable: 'false',
         showInitially: true,
-        width: 250,
-        maxWidth: 250,
-        resizable: "false",
-        sortable: false
       },
     ];
     this.searchTable.tableColumnInit();
-- 
GitLab