EasyUI Forum

General Category => Bug Report => Topic started by: chandrasigniant on January 10, 2017, 01:30:34 PM



Title: shift selecting 1000 rows in treegrid takes 10 seconds
Post by: chandrasigniant on January 10, 2017, 01:30:34 PM
multiSelect in treeGrid generally works great, but when we use the shift select feature for 1000 files it takes 10 seconds and for 2000 files 17 seconds.
Can you please suggest a workaround for this?


Title: Re: shift selecting 1000 rows in treegrid takes 10 seconds
Post by: chandrasigniant on January 11, 2017, 03:38:38 PM
Any response to this?


Title: Re: shift selecting 1000 rows in treegrid takes 10 seconds
Post by: jarry on January 11, 2017, 06:28:24 PM
You can set some properties to improve the loading performance.
Code:
$('#tg').treegrid({
  singleSelect: false,
  ctrlSelect: true,
  checkOnSelect: false,
  scrollOnSelect: false
});
Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.1-patch.zip

The example below shows the example that displays 1000 nodes in treegrid. It's fact to shift select all the nodes.
http://code.reloado.com/asamil3/edit#javascript,html


Title: Re: shift selecting 1000 rows in treegrid takes 10 seconds
Post by: chandrasigniant on January 13, 2017, 12:25:37 PM
Thanks for the inputs. I will try these and let you know.