EasyUI Forum
September 14, 2025, 01:49:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: TreeGrid performance  (Read 11306 times)
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« on: July 14, 2015, 12:35:41 PM »

I am noticing a performance degradation when a number of columns gets over 10. specifically, opening and closing nodes takes about 3-4 seconds. If I use just a few columns then it takes no time.
Any idea for improving it?

Thanks
Logged
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« Reply #1 on: July 15, 2015, 07:20:39 AM »

It also depends how many rows are in the grid. Showing lesser rows helps but most of the time it is not an option.
Logged
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« Reply #2 on: July 16, 2015, 10:20:08 AM »

Any word on that?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #3 on: July 20, 2015, 08:06:03 PM »

To get a good performance, please set 'rownumbers','autoRowHeight','nowrap','frozenColumns' properties correctly.
$('#tg').treegrid({
   rownumbers: false,
   autoRowHeight: false,
   nowrap: true,
   frozenColumns:null,
});

http://www.jeasyui.com/forum/index.php?topic=3408.msg8660#msg8660
« Last Edit: July 20, 2015, 08:11:04 PM by jarry » Logged
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« Reply #4 on: July 21, 2015, 10:43:43 AM »

Using code from the linked tread helped the problem. But still, in IE 11 on windows 7 it's horrible. It takes about 20 secs to get data on screen. It takes less than 5 in Chrome.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!