From 74f4a86d920ebcf6bc58dca85739549c7c45db8a Mon Sep 17 00:00:00 2001 From: Steve Yin Date: Tue, 3 Jan 2023 10:00:10 +0800 Subject: [PATCH] fix: add gridStyleClass to dataview --- src/app/components/dataview/dataview.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/dataview/dataview.ts b/src/app/components/dataview/dataview.ts index 05c74961577..a9ba7363fbd 100755 --- a/src/app/components/dataview/dataview.ts +++ b/src/app/components/dataview/dataview.ts @@ -60,7 +60,7 @@ import { Subscription } from 'rxjs'; [showPageLinks]="showPageLinks" >
-
+
@@ -147,6 +147,8 @@ export class DataView implements OnInit, AfterContentInit, OnDestroy, BlockableU @Input() styleClass: string; + @Input() gridStyleClass: string = ''; + @Input() trackBy: Function = (index: number, item: any) => item; @Input() filterBy: string;