Datatable paging control modification

By default, the paging control of

datatable is like this. Only the document can be found to control whether the first and last pages, numeric buttons, upper and lower pages are displayed.
what you need to do now is to change the default display of 1-5 pages to 1-3 pages. Can you only change the source code? you can"t find the configuration item for this.
effect needs 123.4183

.
Mar.05,2021
Menu