I'm using angular-slickgrid: "^2.17.11". I'm quite new with it. Here is how I configured the grid option to display the pagination and items per page. In the config I have given the page sizes as [5, 10, 15, 20, 25, 50, 75] but in the UI it is coming as [5, 10, 15, 20, 25, 50, 75, 75, 100]. Not sure how it is happening. Did I missed something?
{
enableSorting: true,
enableFiltering: true,
enablePagination: true,
pagination: {
pageSizes: [5, 10, 15, 20, 25, 50, 75],
pageSize: 5
},
autoResize: {
containerId: 'tableSection_details',
sidePadding: 5
},
alwaysShowVerticalScroll: false,
excelExportOptions: {
filename: "DoC",
sheetName: this._exportSheetName
},
enableExcelExport: true,
gridMenu: {
onCommand: (e, args) => {
if (args.command === 'toggle-preheader') {
// in addition to the grid menu pre-header toggling (internally), we will also clear grouping
this.clearGrouping();
}
},
},
enableDraggableGrouping: true,
createPreHeaderPanel: true,
showPreHeaderPanel: true,
preHeaderPanelHeight: 40,
draggableGrouping: {
dropPlaceHolderText: 'Drop column header here to group by the column',
deleteIconCssClass: 'fa fa-times',
onGroupChanged: (e, args) => this.onGroupChanged(args),
onExtensionRegistered: (extension) => this.draggableGroupingPlugin = extension,
}
}