I am using the module to render the table. I use font-awesome as the arrow icons of the sort header.
In the code, the default way to change the asc/desc icon is adding and removing the class "up" and "down"
I am suggesting that the following current usage:
$.bootstrapSortable({
sign: "fa fa-sort"
})
can be improved as the following:
$.bootstrapSortable({
sign: {
"asc": "fa fa-sort-asc",
"desc": "fa fa-sort-desc"
}
});
On this way the arrows can be customized more easily
Is it the good way to do so?