columns: {
Name: {
title: 'Name',
filter: false,
},
Description: {
title: 'Description',
filter: false,
},
},
add: {
addButtonContent: '<i class="nb-plus"></i>',
createButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
edit: {
editButtonContent: '<i class="nb-edit"></i>',
saveButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
delete: {
deleteButtonContent: '<i class="nb-trash"></i>',
confirmDelete: true,
},
};
source: ServerDataSource;
constructor(private http: Http, globals: Globals) {
this.source = new ServerDataSource(http, { endPoint: GlobalVariable.BASE_API_URL+'/api/InspectionService/GetInspectionStatus' });
}
i populated the data inside the ng2 smart table by the above method .. but the pagination is not appearing on the view ... what do i miss ? how to make the pagination appear for using serverdatasource ??