@eternalcodestudio/primeng-table 20.0.10 → 20.0.11
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.
package/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ interface ITableButton {
|
|
|
109
109
|
* @param rowData The row data object. Null for header buttons.
|
|
110
110
|
* @returns True if the button should be visible; false otherwise.
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
enabledCondition?: (rowData: any) => boolean;
|
|
113
113
|
/**
|
|
114
114
|
* Optional. Controls behavior when `condition` returns false.
|
|
115
115
|
* - If `true`, the button will be hidden when the condition is not met.
|
|
@@ -603,6 +603,14 @@ interface ITableOptions {
|
|
|
603
603
|
* @default false
|
|
604
604
|
*/
|
|
605
605
|
resizable?: boolean;
|
|
606
|
+
/**
|
|
607
|
+
* Function that determines whether the checkbox should be enabled or not.
|
|
608
|
+
* @param rowData The row data object.
|
|
609
|
+
* @returns True if the checkbox should be enabled; false otherwise.
|
|
610
|
+
*
|
|
611
|
+
* @default undefined
|
|
612
|
+
*/
|
|
613
|
+
enabledCondition?: (rowData: any) => boolean;
|
|
606
614
|
};
|
|
607
615
|
/**
|
|
608
616
|
* Configurations related to the single row selector.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eternalcodestudio/primeng-table",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.11",
|
|
4
4
|
"description": "ECS reusable Angular PrimeNG table component with advanced server-side filters. Designed to offload filtering logic to any backend API.",
|
|
5
5
|
"author": "ECS (Eternal CODE Studio)",
|
|
6
6
|
"license": "MIT",
|