layout: docs title: Table Multiple Sort description: Table Multiple Sort extension of Bootstrap Table. group: extensions
{% highlight html %} {% endhighlight %}
attribute: data-show-multi-sort
type: Boolean
Detail:
Set true to allow the multiple sort.
falseattribute: data-show-multi-sort-button
type: Boolean
Detail:
Set false to hide multiple sort UI button.
trueattribute: data-multi-sort-strict-sort
type: Boolean
Detail:
Set true to enable strict sorting. This means that strings will be compared and ordered using toLowerCase.
falseattribute: data-sort-priority
type: Object
Detail:
Set one or multiple sort priority. Example: '[{"sortName": "forks_count","sortOrder":"desc"},{"sortName":"stargazers_count","sortOrder":"desc"}]'
glyphicon-sortglyphicon-plusglyphicon-minusparameters: none
Detail:
Force multiple sort table (usable after manual data changes).
parameters: sortPriority
Detail:
Set one or multiple sort priority
Example:
[
{
"sortName": "forks_count",
"sortOrder": "desc"
},
{
"sortName": "stargazers_count",
"sortOrder": "asc"
}
]
Text of the add level button
function () { return "Add Level" }Text of the delete level button
function () { return "Cancel" }Text of Column header
function () { return "Column" }Text of the delete level button
function () { return "Delete Level" }Title of the duplicate alert
function () { return "Duplicate(s) detected!" }Text of the duplicate alert
function () { return "Please remove or change any duplicate column." }Title of the advanced search modal
function () { return "Multiple Sort" }Text of the delete level button
function () { return "Order" }Text of the delete level button
function () { return "Sort" }Text of the delete level button
function () { return "Sort by" }Text of the sort orders
function () { return "Ascending" }function () { return "Descending" }Text of the delete level button
function () { return "Then by" }