EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 06:54:02 PM
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
>
Bug Report
>
Datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid (Read 13230 times)
peter
Newbie
Posts: 10
Datagrid
«
on:
June 21, 2012, 12:43:24 AM »
I have a datagrid where I am setting a number of parameters.
$('#myId').datagrid({
url: '/myUrl',
pagination: true,
pageSize
: 39,
striped: true,
...
When I set
pageSize
to anything but a multiple of 10, the parameter '
rows
' that is sent to the server is always 10.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Datagrid
«
Reply #1 on:
June 21, 2012, 01:19:01 AM »
It is not a bug, the legal page size must be chosen from page list. For example, you define a page list [10,20,30], assigning pageSize to 39 is not valid but assigning pageSize to 10 or 20 is valid. The pageSize will be corrected according to the page list when the datagrid is created.
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...