@eternalcodestudio/primeng-table 20.0.13 → 20.0.14

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
@@ -600,6 +600,13 @@ interface ITableOptions {
600
600
  * @default "pi pi-pen-to-square"
601
601
  */
602
602
  selectorIcon?: string;
603
+ /**
604
+ * When `true`, columns in the selector are displayed alphabetically (A–Z).
605
+ * When `false`, columns keep the order provided by the backend.
606
+ *
607
+ * @default true
608
+ */
609
+ selectorOrderByColumnName?: boolean;
603
610
  /**
604
611
  * The combination of non-selectable columns and user-selected columns
605
612
  * that must be displayed in the table.
@@ -884,6 +891,24 @@ interface ITableOptions {
884
891
  */
885
892
  urlSave?: string;
886
893
  };
894
+ /**
895
+ * Configurations related to the reset table view button.
896
+ */
897
+ resetTableView?: {
898
+ /**
899
+ * If the reset table view button should be enabled.
900
+ *
901
+ * @default true
902
+ */
903
+ enabled?: boolean;
904
+ /**
905
+ * Can be used to specifiy a different icon to be used by the reset table view button.
906
+ * You can replace it with any icon from PrimeNG or other libraries such as Font Awesome or Material Icons.
907
+ *
908
+ * @default "pi pi-eraser"
909
+ */
910
+ icon?: string;
911
+ };
887
912
  /**
888
913
  * Configurations for exporting the table data to Excel.
889
914
  */
@@ -1057,7 +1082,6 @@ declare class ECSPrimengTable implements OnInit, AfterViewInit {
1057
1082
  showColumnSelector: boolean;
1058
1083
  selectedRowsCheckbox: any[];
1059
1084
  dt: Table;
1060
- showRefreshData: boolean;
1061
1085
  globalSearchText: string | null;
1062
1086
  tableViewsList: ITableView[];
1063
1087
  tableViews_menuItems: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eternalcodestudio/primeng-table",
3
- "version": "20.0.13",
3
+ "version": "20.0.14",
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",