File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/components/table-static Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -577,6 +577,7 @@ Table use local CSS variables for enhanced real-time customization.
577
577
| ` table-class ` | ` String ` | ` - ` | Add class to table element |
578
578
| ` tr-class ` | ` String ` | ` - ` | Add class to table row element |
579
579
| ` scrollable ` | ` Boolean ` | ` true ` | Enable scroll when table overflow |
580
+ | ` sortable ` | ` Boolean ` | ` false ` | Enable sort items by field name |
580
581
581
582
In props ` fields ` contain
582
583
@@ -588,6 +589,7 @@ In props `fields` contain
588
589
| ` formatter? ` | ` Function ` | Field's formatter, it receives ` value ` and ` item ` params and returning string value |
589
590
| ` thClass? ` | ` HTMLAttributes ` | ` HTMLAttributes ` of ` class ` to use in table column cell |
590
591
| ` tdClass? ` | ` HTMLAttributes ` | ` HTMLAttributes ` of ` class ` to use in table head cell |
592
+ | ` sortable? ` | ` Boolean ` | Enable field sorting. Eventhough table have ` sortable ` prop, but the field not set ` sortable ` , sort function not able to use |
591
593
592
594
593
595
### Slots
You can’t perform that action at this time.
0 commit comments