-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcolumn-sorting-style.json
75 lines (75 loc) · 1.71 KB
/
column-sorting-style.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"todo": [""],
"export": true,
"skipAlterDataCasing": true,
"onInit": ["WebGridSortingStyling"],
"descriptions": {
"content": {
"type": "WebGrid",
"dataRef": "ProductSales",
"name": "grid",
"id": "grid",
"autoGenerate": false,
"sortingExpressions": [
{
"type": "WebSortingExpression",
"fieldName": "Category",
"dir": "Asc",
"ignoreCase": true
}
],
"columnList": [
{
"type": "WebColumn",
"field": "OrderID",
"header": "Order ID",
"sortable": true
},
{
"type": "WebColumn",
"field": "Category",
"header": "Category Name",
"dataType": "String",
"sortable": true
},
{
"type": "WebColumn",
"field": "Company",
"header": "Company",
"dataType": "String",
"sortable": true
},
{
"type": "WebColumn",
"field": "ShipCountry",
"header": "Ship Country",
"dataType": "String",
"sortable": true
},
{
"type": "WebColumn",
"field": "SaleAmount",
"header": "Sale Amount",
"dataType": "Currency",
"sortable": true,
"pipeArgs": {
"currencyCode": "USD",
"type": "WebColumnPipeArgs",
"digitsInfo": "1.2-2"
}
},
{
"type": "WebColumn",
"field": "ShippedDate",
"header": "Shipped Date",
"dataType": "Date",
"sortable": true
}
]
}
},
"modules": [
"withDescriptions",
"grids/WebGridModule"
]
}