@@ -87,7 +87,13 @@ <h2>table-sort-js</h2>
87
87
< td > table-arrows</ td >
88
88
< td >
89
89
Adds up or down arrows to indicate whether column is sorted in
90
- aescending or descending order.
90
+ ascending or descending order.
91
+ </ td >
92
+ </ tr >
93
+ < tr >
94
+ < td > remember-sort</ td >
95
+ < td >
96
+ If clicking on different columns remembers sort of the original column.
91
97
</ td >
92
98
</ tr >
93
99
</ table >
@@ -99,7 +105,7 @@ <h2>table-sort-js</h2>
99
105
>
100
106
< thead >
101
107
< tr >
102
- < th > <th class=""> </ th >
108
+ < th > <th class=""> </ th >
103
109
< th > Description</ th >
104
110
</ tr >
105
111
</ thead >
@@ -113,7 +119,7 @@ <h2>table-sort-js</h2>
113
119
< tr >
114
120
< td > file-size</ td >
115
121
< td >
116
- Supports sorting files sizes from bytes to Tebibytes (B -> TiB).
122
+ Supports sorting files sizes from bytes to Tebibytes (B -> TiB).
117
123
Can be Metric prefix (e.g 10KB), or Binary prefix(e.g 25KiB) and
118
124
can contain a space or no space between number and unit type
119
125
(e.g 25KB or 25 KB). It converts units into numbers (bytes) does
@@ -143,6 +149,12 @@ <h2>table-sort-js</h2>
143
149
not supported by table-sort-js.
144
150
</ td >
145
151
</ tr >
152
+ < tr >
153
+ < td > disable-sort</ td >
154
+ < td >
155
+ Disallow sorting the table by this specific column.
156
+ </ td >
157
+ </ tr >
146
158
</ table >
147
159
< br >
148
160
< h3 > Example using tags:</ h3 >
@@ -156,23 +168,27 @@ <h3>Example using tags:</h3>
156
168
<th class="data-sort">data</th>
157
169
<th class="file-size">file sizes</th>
158
170
<th class="order-by-desc">birth date</th>
171
+ <th class="disable-sort">unsortable</th>
159
172
</tr>
160
173
</thead>
161
174
<tbody>
162
175
<tr>
163
176
<td data-sort="2">sort</td>
164
177
<td>10KiB</td>
165
178
<td>1706/1/17</td>
179
+ <td>1</td>
166
180
</tr>
167
181
<tr>
168
182
<td data-sort="3">js</td>
169
183
<td>1MB</td>
170
184
<td>1835/11/25</td>
185
+ <td>2</td>
171
186
</tr>
172
187
<tr>
173
188
<td data-sort="1">table</td>
174
189
<td>1TB</td>
175
190
<td>1835/11/30</td>
191
+ <td>3</td>
176
192
</tr>
177
193
</tbody>
178
194
</table>
@@ -184,23 +200,27 @@ <h3>Example using tags:</h3>
184
200
< th class ="data-sort "> data</ th >
185
201
< th class ="file-size "> file sizes</ th >
186
202
< th class ="order-by-desc "> birth date</ th >
203
+ < th class ="disable-sort "> unsortable</ th >
187
204
</ tr >
188
205
</ thead >
189
206
< tbody >
190
207
< tr >
191
208
< td data-sort ="2 "> sort</ td >
192
209
< td > 10KiB</ td >
193
210
< td > 1706/1/17</ td >
211
+ < td > 1</ td >
194
212
</ tr >
195
213
< tr >
196
214
< td data-sort ="3 "> js</ td >
197
215
< td > 1 MB</ td >
198
216
< td > 1835/11/25</ td >
217
+ < td > 2</ td >
199
218
</ tr >
200
219
< tr >
201
220
< td data-sort ="1 "> table</ td >
202
221
< td > 1TB</ td >
203
222
< td > 1835/11/30</ td >
223
+ < td > 3</ td >
204
224
</ tr >
205
225
</ tbody >
206
226
</ table >
0 commit comments