simple-table-core 4.2.3 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,7 +148,11 @@ export interface SimpleTableConfig<TData extends RowData = Row> {
|
|
|
148
148
|
selectableCells?: boolean;
|
|
149
149
|
selectableColumns?: boolean;
|
|
150
150
|
serverSidePagination?: boolean;
|
|
151
|
-
|
|
151
|
+
/**
|
|
152
|
+
* Empty-table UI. A prebuilt element is cloned (vanilla snapshot). A function
|
|
153
|
+
* is called and its node is appended live (clicks and Angular views keep working).
|
|
154
|
+
*/
|
|
155
|
+
tableEmptyStateRenderer?: HTMLElement | string | null | (() => HTMLElement | string | null);
|
|
152
156
|
theme?: Theme;
|
|
153
157
|
totalRowCount?: number;
|
|
154
158
|
}
|
|
@@ -155,7 +155,11 @@ export interface SimpleTableProps<TData extends RowData = Row> {
|
|
|
155
155
|
selectableCells?: boolean;
|
|
156
156
|
selectableColumns?: boolean;
|
|
157
157
|
serverSidePagination?: boolean;
|
|
158
|
-
|
|
158
|
+
/**
|
|
159
|
+
* Custom empty UI when the table has no rows. A prebuilt element is cloned.
|
|
160
|
+
* Pass a function to append a live node (button clicks still fire).
|
|
161
|
+
*/
|
|
162
|
+
tableEmptyStateRenderer?: HTMLElement | string | null | (() => HTMLElement | string | null);
|
|
159
163
|
theme?: Theme;
|
|
160
164
|
totalRowCount?: number;
|
|
161
165
|
}
|