diff --git a/api-generator/components/treetable.js b/api-generator/components/treetable.js
index 4d3be6134..08a56d04d 100644
--- a/api-generator/components/treetable.js
+++ b/api-generator/components/treetable.js
@@ -443,23 +443,39 @@ const TreeTableEvents = [
const TreeTableSlots = [
{
name: 'header',
- description: "Custom content for the component's header"
+ description: "Custom content for the component's header."
},
{
name: 'paginatorstart',
- description: "Custom content for the component paginator's left side"
+ description: "Custom content for the component paginator's left side."
},
{
name: 'paginatorend',
- description: "Custom content for the component paginator's right side"
+ description: "Custom content for the component paginator's right side."
},
{
name: 'empty',
- description: 'Custom content when there is no data to display'
+ description: 'Custom content when there is no data to display.'
},
{
name: 'footer',
- description: "Custom content for the component's footer"
+ description: "Custom content for the component's footer."
+ },
+ {
+ name: 'loadingicon',
+ description: 'Custom loading icon template.'
+ },
+ {
+ name: 'togglericon',
+ description: 'Custom toggler icon template.'
+ },
+ {
+ name: 'checkboxicon',
+ description: 'Custom checkbox icon template.'
+ },
+ {
+ name: 'sorticon',
+ description: 'Custom sort icon template.'
}
];
diff --git a/components/lib/treetable/BodyCell.vue b/components/lib/treetable/BodyCell.vue
index a5e93ac35..4c5045e80 100644
--- a/components/lib/treetable/BodyCell.vue
+++ b/components/lib/treetable/BodyCell.vue
@@ -1,24 +1,28 @@
diff --git a/components/lib/treetable/TreeTable.d.ts b/components/lib/treetable/TreeTable.d.ts
index 849f94b61..bab6c818f 100755
--- a/components/lib/treetable/TreeTable.d.ts
+++ b/components/lib/treetable/TreeTable.d.ts
@@ -382,6 +382,31 @@ export interface TreeTableSlots {
* Custom empty template.
*/
empty(): VNode[];
+ /**
+ * Custom loading icon template.
+ */
+ loadingicon(): VNode[];
+ /**
+ * Custom toggler icon template.
+ */
+ togglericon(): VNode[];
+ /**
+ * Custom checkbox icon template.
+ */
+ checkboxicon(): VNode[];
+ /**
+ * Custom sort icon template.
+ */
+ sorticon(scope: {
+ /**
+ * Whether or not column is sorted
+ */
+ sorted: TreeNode;
+ /**
+ * Current sort order
+ */
+ sortOrder: boolean;
+ }): VNode[];
}
/**
diff --git a/components/lib/treetable/TreeTable.vue b/components/lib/treetable/TreeTable.vue
index 27447025d..a00f23a0c 100755
--- a/components/lib/treetable/TreeTable.vue
+++ b/components/lib/treetable/TreeTable.vue
@@ -2,7 +2,9 @@