How to modify the page column in easyui into Chinese

How to modify the page column in easyui into Chinese

Former modify the default is in English

 Just add the following code in the js to change the style you want

       IF ($ .fn.pagination) { 
            $ .fn.pagination.defaults.beforePageText = 'on' ; 
            $ .fn.pagination.defaults.afterPageText = 'co {pages} p' ; 
            .fn.pagination.defaults.displayMsg $ = 'Show {from} to {to}, {total} total record' ; 
        }

Modified

 

 

Reference: https: //www.iteye.com/problems/98006 

Guess you like

Origin www.cnblogs.com/masha2017/p/11535202.html