EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: zolotoy on July 14, 2015, 12:35:41 PM



Title: TreeGrid performance
Post by: zolotoy 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


Title: Re: TreeGrid performance
Post by: zolotoy 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.


Title: Re: TreeGrid performance
Post by: zolotoy on July 16, 2015, 10:20:08 AM
Any word on that?


Title: Re: TreeGrid performance
Post by: jarry 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


Title: Re: TreeGrid performance
Post by: zolotoy 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.