EasyUI Forum

General Category => Bug Report => Topic started by: finzaiko on December 22, 2013, 08:18:04 PM



Title: Include grid virtual scroll error
Post by: finzaiko on December 22, 2013, 08:18:04 PM
I use datagrid virtual scroll view
http://www.jeasyui.com/tutorial/datagrid/datagrid27.php

I create a toolbar on this datagrid and add new button to open dialog edatagrid inside, when I double click to update row edatagrid, the row can not be edited and I got an error :
TypeError: v.rows is undefined
row = v.rows[index - v.index];

(http://i.cubeupload.com/UNV3iM.jpg)

but when I switch back to normal pagination grid worked fine.
is that a bug?


Title: Re: Include grid virtual scroll error
Post by: stworthy on December 23, 2013, 01:50:50 AM
Make sure you are using the newest 'datagrid-scrollview.js' file. If not, please download it from http://www.jeasyui.com/extension/datagridview.php.


Title: Re: Include grid virtual scroll error
Post by: finzaiko on December 23, 2013, 09:36:39 AM
I 've change the latest scrollview but still got same error


Title: Re: Include grid virtual scroll error
Post by: stworthy on December 24, 2013, 01:27:10 AM
Please refer to this example http://jsfiddle.net/8VaVd/. It works fine. If your issue continues, apply the newest 'jquery.edatagrid.js' and 'datagrid-scrollview.js' files again.


Title: Re: Include grid virtual scroll error
Post by: finzaiko on December 25, 2013, 05:45:06 PM
I create an example as following file ...
what does I mean the error, when I opened DialogBox edatagrid inside there, I can not double-click on it.


Title: Re: Include grid virtual scroll error
Post by: stworthy on December 25, 2013, 06:20:28 PM
The 'datagrid-scrollview.js' file has been updated. Please download it again from http://www.jeasyui.com/extension/datagridview.php


Title: Re: Include grid virtual scroll error
Post by: finzaiko on December 25, 2013, 08:57:03 PM
Thanks so much stworthy, it's fixed.