customize pagination in React Material-Table

Viewed 17

enter image description here

Above is image of jQuery datatable pagination. However I am not able to achieve similar pagination UI in react Material-Table (basically pagination should display last page number after initial page number ... seprated)

<MaterialTable
    localization={{
        pagination: {
           // labelDisplayedRows: '{from}-{to} of {count}'
            // labelDisplayedRows: '{currentPage}...{lastPage}'
        },
        toolbar: {
            nRowsSelected: '{0} row(s) selected'
        },
        header: {
            actions: 'Actions'
        },
        body: {
            emptyDataSourceMessage: 'No records to display',
            filterRow: {
                filterTooltip: 'Filter'
            }
        }
    }}
/>
0 Answers
Related