From 42bb471c2fb255e19a1ca46c07f7ce109531a4c3 Mon Sep 17 00:00:00 2001 From: Damyan Petev Date: Fri, 14 Jun 2024 09:37:45 +0300 Subject: [PATCH] refactor(grids): cleanup search samples --- projects/app-crm/src/app/grid-crm/grid-crm.component.html | 8 ++++---- .../grid-search-sample/grid-search-sample.component.html | 8 ++++---- .../tree-grid-search-sample.component.html | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/app-crm/src/app/grid-crm/grid-crm.component.html b/projects/app-crm/src/app/grid-crm/grid-crm.component.html index 65897117d..3bdfe73bc 100644 --- a/projects/app-crm/src/app/grid-crm/grid-crm.component.html +++ b/projects/app-crm/src/app/grid-crm/grid-crm.component.html @@ -25,12 +25,12 @@ -
- +
+ {{ grid1.lastSearchInfo.activeMatchIndex + 1 }} of {{ - grid1.lastSearchInfo.matchInfoCache.length }} results + grid1.lastSearchInfo.matchCount }} results - + No results
diff --git a/src/app/grid/grid-search-sample/grid-search-sample.component.html b/src/app/grid/grid-search-sample/grid-search-sample.component.html index 72134030c..698215007 100644 --- a/src/app/grid/grid-search-sample/grid-search-sample.component.html +++ b/src/app/grid/grid-search-sample/grid-search-sample.component.html @@ -9,12 +9,12 @@ (keydown)="searchKeyDown($event)" /> -
- - {{ grid.lastSearchInfo.activeMatchIndex + 1 }} of {{ grid.lastSearchInfo.matchInfoCache.length }} +
+ + {{ grid.lastSearchInfo.activeMatchIndex + 1 }} of {{ grid.lastSearchInfo.matchCount }} results - + No results
diff --git a/src/app/tree-grid/tree-grid-search-sample/tree-grid-search-sample.component.html b/src/app/tree-grid/tree-grid-search-sample/tree-grid-search-sample.component.html index 6ad212df3..60d027362 100644 --- a/src/app/tree-grid/tree-grid-search-sample/tree-grid-search-sample.component.html +++ b/src/app/tree-grid/tree-grid-search-sample/tree-grid-search-sample.component.html @@ -9,12 +9,12 @@ (keydown)="searchKeyDown($event)" /> -
- - {{ treeGrid.lastSearchInfo.activeMatchIndex + 1 }} of {{ treeGrid.lastSearchInfo.matchInfoCache.length }} +
+ + {{ treeGrid.lastSearchInfo.activeMatchIndex + 1 }} of {{ treeGrid.lastSearchInfo.matchCount }} results - + No results