# Sort
This guide will show you how to disable sorting behavior specific columns.
# Disable
ProTable comes with sorting out of the box. In case you have an unsortable column, you can disable it by using custom columns options. See this example:
ProTable.fromArray('#protable-1', data, {
limit: 5,
columns: {
gender: {
orderable: false
},
phone: {
orderable: false
}
}
})
The options above will set gender
and phone
columns to be unorderable.
ProTable output:
← Pagination Filter →