tonytomov / jqGrid

jQuery grid plugin

Home Page:www.trirand.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Header offsetting from the current position

ishantvivek opened this issue · comments

Hello team,

I am having one issue that when we make columns: sortable:true and we have lots of columns with a scroll bar. On dragging, the selected column moves disproportionate.

Here is the screenshot:
image

jqGrid 4.13.4

Note: I debugged the issue a little bit, and I found when we start dragging, it appends left, right and position to the element, however the value for left it is calculating is wrong. This happens only when we have scrolled the grid to right. If scrollbar is at 0, this issue doesn't happen.

jqGrid 4.13.4

Current is v5.8.5

@parallels999
The latest version is even a big mess:

image

The latest version is even a big mess:

No, you're just too out of date, and you're probably affected by a lot of breaking changes.
However, the version you are using is no longer supported.
Try to make a working demo, so, someone could check it, look https://jsfiddle.net/690oehLm/

The problem you have (from my expierence) is related with inconsistency from colModel and source data.
Mostly this is caused with repeatdata : true in jsonReader.

Check your data and colmodel if they are in sync.