corrade-nucleus-nucleons – Blame information for rev 20

Subversion Repositories:
Rev:
Rev Author Line No. Line
20 office 1 # Table Multiple Sort
2  
3 Use Plugin: [bootstrap-table-multiple-sort](https://github.com/dimbslmh/bootstrap-table/tree/master/src/extensions/multiple-sort)
4  
5 ## Usage
6  
7 ```html
8 <script src="extensions/multiple-sort/bootstrap-table-multiple-sort.js"></script>
9 ```
10  
11 ## Options
12  
13 ### showMultiSort
14  
15 * type: Boolean
16 * description: Set true to allow the multiple sort.
17 * default: `false`
18  
19 ### sortPriority
20  
21 * type: Object
22 * description: Set one or multiple sort priority. Example: '[{"sortName": "forks_count","sortOrder":"desc"},{"sortName":"stargazers_count","sortOrder":"desc"}]'
23 * default: null
24  
25 ### Icons
26 * sort: `glyphicon-sort`
27 * plus: `glyphicon-plus`
28 * minus: `glyphicon-minus`
29  
30 ## Locales
31  
32 ### formatMultipleSort
33  
34 * description: Title of the advanced search modal
35 * default: `Multiple Sort`
36  
37 ### formatAddLevel
38  
39 * description: Text of the add level button
40 * default: `Add Level`
41  
42 ### formatDeleteLevel
43  
44 * description: Text of the delete level button
45 * default: `Delete Level`
46  
47 ### formatColumn
48  
49 * description: Text of Column header
50 * default: `Column`
51  
52 ### formatOrder
53  
54 * description: Text of the delete level button
55 * default: `Order`
56  
57 ### formatSortBy
58  
59 * description: Text of the delete level button
60 * default: `Sort by`
61  
62 ### formatThenBy
63  
64 * description: Text of the delete level button
65 * default: `Then by`
66  
67 ### formatSort
68  
69 * description: Text of the delete level button
70 * default: `Sort`
71  
72 ### formatCancel
73  
74 * description: Text of the delete level button
75 * default: `Cancel`
76  
77 ### formatDuplicateAlertTitle
78  
79 * description: Title of the duplicate alert
80 * default: `Duplicate(s) detected!`
81  
82 ### formatDuplicateAlertDescription
83  
84 * description: Text of the duplicate alert
85 * default: `Please remove or change any duplicate column.`
86  
87 ### formatSortOrders
88  
89 * description: Text of the sort orders
90 * default: asc : `Ascending` and desc : `Descending`
91  
92 ## Events
93  
94 ### onMultipleSort(multiple-sort.bs.table)
95  
96 * Fires when sorting with one or multiple Sort Priority.