Looking to customize the "skipNatural" boolean in the smart-table.js file, but concerned about it being overwritten when using Bower for updates. The current setting in the Smart-Table file is as follows:
ng.module('smart-table')
.constant('stConfig', {
pagination: {
template: 'template/smart-table/pagination.html',
itemsByPage: 10,
displayedPages: 5
},
search: {
delay: 400, // ms
inputEvent: 'input'
},
select: {
mode: 'single',
selectedClass: 'st-selected'
},
sort: {
ascentClass: 'st-sort-ascent',
descentClass: 'st-sort-descent',
skipNatural: false,
delay:300
},
pipe: {
delay: 100 //ms
}
});
Exploring options to modify the boolean by extending the Smart-Table constant or utilizing a Decorator. Currently loading smart-table.min.js and other files via ocLazyLoad.
Managing multiple tables on the site and seeking a way to toggle the Boolean globally instead of setting individually on each table header to avoid redundancy.
Appreciate any insights or suggestions! Thank you!