EasyUI Forum
April 26, 2024, 06:01:40 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: Scrolling the selected row into view has a bug  (Read 7264 times)
chandrasigniant
Newbie
*
Posts: 21


View Profile Email
« on: January 09, 2017, 02:15:11 PM »

When there is scrollbar on a treegrid and select the last row, it shifts the last row upward and partly shows the row below that.
In normal cases it is ok. But when we added double click feature to the rows, the row below the selected row is being selected when we double click the last row (especially when the second half of the rows being selected is used as double click area).
On your Demo pages of treegrid (http://www.jeasyui.com/demo/main/index.php?plugin=TreeGrid&theme=default&dir=ltr&pitem=) this can be reproduced using Dynamic Loading in TreeGrid example.

Can you fix it please?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: January 09, 2017, 07:32:51 PM »

Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.1-patch.zip.
Logged
chandrasigniant
Newbie
*
Posts: 21


View Profile Email
« Reply #2 on: January 10, 2017, 01:20:49 PM »

Still the same issue, this is reproducible only when the grid has vertical scrollbar visible (more rows below the last row being  selected).
The last row when fully visible should not bring jump upwards ideally and need not bring the row below it partially into the view
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #3 on: January 10, 2017, 07:05:43 PM »

Selecting a row will scroll to this row to make it visible. If you don't want this feature, please set the 'scrollOnSelect' property to false. Make sure to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.1-patch.zip
Logged
chandrasigniant
Newbie
*
Posts: 21


View Profile Email
« Reply #4 on: January 11, 2017, 03:37:47 PM »

scrolling the selected row into view is ok, but why does it have to bring the node below it partially into view ?
That is the problem I am facing, because the double click on that selected node is getting triggered on the node below it.
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!