EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 13, 2024, 05:19:30 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
>
Poor performance with large row or column count
Pages: [
1
]
« previous
next »
Print
Author
Topic: Poor performance with large row or column count (Read 18598 times)
pacific202
Newbie
Posts: 35
Poor performance with large row or column count
«
on:
November 28, 2011, 12:11:32 PM »
I'm getting excessive load times and unresponsive script errors when I try to load a datagrid with 22 columns (plus one checkbox) and 272 rows. My grids won't ever get much larger than this so I am at the upper bound of size requirements.
Is there anything I can do to improve speed and stability?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Poor performance with large row or column count
«
Reply #1 on:
November 28, 2011, 06:19:51 PM »
Paging is the easiest way to manage large rows within the datagrid. Set 'pagination' property to true to allow datagrid paging.
Logged
pacific202
Newbie
Posts: 35
Re: Poor performance with large row or column count
«
Reply #2 on:
November 28, 2011, 07:52:57 PM »
Thanks for the quick reply.
I did set pagination=true as an experiment this morning, it picked up the correct number of pages but still displayed all 270+ rows.
Is there something else I need to do to make that work?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Poor performance with large row or column count
«
Reply #3 on:
November 28, 2011, 08:04:27 PM »
Please refer to this tutorial
http://www.jeasyui.com/tutorial/datagrid/datagrid2.php
.
In your server, you will get 'page' and 'rows' request parameters. You should return exactly 'rows' records to browser not all records.
Logged
pacific202
Newbie
Posts: 35
Re: Poor performance with large row or column count
«
Reply #4 on:
November 28, 2011, 09:04:44 PM »
Unfortunately that's not an option for me - the server API is restricted.
I have limited the grid to four columns and it is now loading quickly. I can work around this.
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...