I'm using the ng2-smart-table in an Angular 2 app and I have a problem with the pagination in it. I'm loading a data object array and it shows correctly the first five (I have 20 in total) but the pagination at the bottom of the table shows << >> without numbers between the arrows and if I click on the right arrow it shows me the next 15 all together. The settings for the table are:
private tableSettings = {
columns: {
id: {
title: 'ID',
filter: false
},
name: {
title: 'Name',
filter: false
},
},
hideSubHeader: true,
attr: {
class: 'id-field'
},
actions:{
edit: false
},
delete:{
confirmDelete: true
},
pager : {
display : true,
perPage:5
}
}
Any ideas why is it showing << >> instead of << 1 2 3 4 >> ?? Thanks!