You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/multicolumncombobox/templates.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ List of the available templates:
24
24
| --- | --- |
25
25
|[`Header`](#header)| Controls the rendering of the element above the list of items in the dropdown. |
26
26
|[`Footer`](#footer)| Controls the rendering of the element below the list of items in the dropdown. |
27
+
|[`Row`](#row)| Controls the rendering of the entire row in the dropdown. |
27
28
28
29
>note To customize the rendering of the items in dropdown you can use the [Column Template]({%multicolumncombobob-templates%}#template).
29
30
@@ -105,6 +106,54 @@ The footer is content that you can place below the list of items inside the drop
105
106
}
106
107
````
107
108
109
+
## Row
110
+
111
+
The `RowTemplate` allows you to control the rendering of each row in the dropdown. You can access the `context` object and cast it to the bound model to employ some custom business logic. The `contenxt` represents the current data item for the row.
112
+
113
+
>caption Use the RowTemplate to custome the rendering of the rows in the dropdown
0 commit comments