test of sortable table
Browse files
test.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
```json:table
|
| 2 |
+
{
|
| 3 |
+
"fields" : [
|
| 4 |
+
{"key": "a", "label": "AA", "sortable": true},
|
| 5 |
+
{"key": "b", "label": "BB"},
|
| 6 |
+
{"key": "c", "label": "CC"}
|
| 7 |
+
],
|
| 8 |
+
"items" : [
|
| 9 |
+
{"a": "11", "b": "22", "c": "33"},
|
| 10 |
+
{"a": "211", "b": "222", "c": "233"}
|
| 11 |
+
]
|
| 12 |
+
}
|
| 13 |
+
```
|