EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: elmorekevin on March 11, 2019, 08:17:36 PM



Title: Can't figure out why datagrid scrolls automatically horizontally when editing
Post by: elmorekevin on March 11, 2019, 08:17:36 PM
I have a rather large datagrid, with two frozen columns.

When I double-click to edit a cell, the datagrid scrolls automatically to somewhat center the cell and cursor to the center of the div or screen. I'm trying to prevent this behavior, it is hard to keep track of the column you are trying to edit.

I've created a video of the behavior since it is a little tough to explain. What could be causing this behavior?

https://youtu.be/CZbSAYsLNbE

Thanks!


Title: Re: Can't figure out why datagrid scrolls automatically horizontally when editing
Post by: jarry on March 11, 2019, 11:21:45 PM
If you are using the jquery.edatagrid.js extension, please download it from https://www.jeasyui.com/extension/edatagrid.php


Title: Re: Can't figure out why datagrid scrolls automatically horizontally when editing
Post by: elmorekevin on March 12, 2019, 07:24:42 AM
Fixed it perfect! Thanks!

PS I removed the video from youtube.