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: docs/sortable.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,11 +63,14 @@ A table which can be sorted by clicking the column headers. The component requir
63
63
|`sortDescFunction`||`Function`| Replaces the default sort function for descending sorts |
64
64
|`cssClass`||`String`| Defines extra classes applied to the `th` elements |
65
65
66
-
Row objects should provide a property which can be used as `key` attribute in the list rendering.
66
+
*Row* objects should provide a property which can be used as `key` attribute in the list rendering. Apart from matching column `prop` properties each row object can have a `cssClass` property.
67
67
68
68
As default a `key` property is assumed but can be declared otherwise with the `key-property` attribute of the component.
69
69
70
70
## Default Component
71
+
72
+
A most basic example passing only `columns` and `rows` properties.
0 commit comments