EasyUI Forum
April 17, 2024, 09:09:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: shift selecting 1000 rows in treegrid takes 10 seconds  (Read 6627 times)
chandrasigniant
Newbie
*
Posts: 21


View Profile Email
« 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?
Logged
chandrasigniant
Newbie
*
Posts: 21


View Profile Email
« Reply #1 on: January 11, 2017, 03:38:38 PM »

Any response to this?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #2 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
Logged
chandrasigniant
Newbie
*
Posts: 21


View Profile Email
« Reply #3 on: January 13, 2017, 12:25:37 PM »

Thanks for the inputs. I will try these and let you know.
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!