Easyui pagination layout property and displayMsg property cannot coexist

problem description

uses version 1.5.5.7 of easyui. When using the pagination control, it is found that setting the displayMsg property is invalid after setting the layout property.

related codes

$("-sharppagination").pagination({
    total: 0,
    pageSize: 10,
    page: 1,
    showRefresh: false,
    layout: ["first", "prev", "links", "next", "last"],
    displayMsg:"{from}  {to}  {total}",
    onSelectPage: function (pageNumber, pageSize) {
        
    },
});
Sep.20,2021
Menu