Angular 2 앱에서 ng2-smart-table을 사용하고 있는데 페이지 매김에 문제가 있습니다. 데이터 객체 배열을로드하는 중 첫 번째 5 개가 올바르게 표시됩니다 (총 20 개가 있음). 그러나 표 하단의 페이지 매김은 < < >> 화살표 사이에 숫자가없고 오른쪽 화살표를 클릭하면 표시됩니다. 다음 15 가지를 함께 보여줍니다. 테이블의 설정은 다음ng2-smart-table의 페이지 매김 문제
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
}
}
대신 < < 1 2 3 4 >>의 왜 < <를 보여주는 어떤 아이디어 >> ?? 감사합니다.
다른 사람이 다음과 같은 문제를 겪을 수 있습니다. https://github.com/akveo/ng2-smart-table/issues/221 – Marie