EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
December 14, 2025, 07:29:59 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
[SOLVED] datagrid - pagination show only total rows
Pages: [
1
]
« previous
next »
Print
Author
Topic: [SOLVED] datagrid - pagination show only total rows (Read 13482 times)
catpaw
Jr. Member
Posts: 85
[SOLVED] datagrid - pagination show only total rows
«
on:
February 09, 2017, 11:30:52 AM »
hello all,
need the same as this post
http://www.jeasyui.com/forum/index.php?topic=2204.msg4894#msg4894
need the pagination only say Displaying {from} to {to} of {total} ítems
but in datagrid
thank you
«
Last Edit: February 10, 2017, 10:02:58 AM by catpaw
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: datagrid - pagination show only total rows
«
Reply #1 on:
February 09, 2017, 05:45:35 PM »
Get the pager object and then set the 'layout' property to empty, the pagination tools will not display again.
Code:
$('#dg').datagrid({
pagination:true
});
var pager = $('#dg').datagrid('getPager');
pager.pagination({
layout:[]
})
Logged
catpaw
Jr. Member
Posts: 85
Re: datagrid - pagination show only total rows
«
Reply #2 on:
February 10, 2017, 10:02:26 AM »
thanks as always stworthy
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...