Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header offsetting from the current position #1047

Open
ishantvivek opened this issue Sep 13, 2023 · 5 comments
Open

Header offsetting from the current position #1047

ishantvivek opened this issue Sep 13, 2023 · 5 comments

Comments

@ishantvivek
Copy link

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

@ishantvivek
Copy link
Author

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.

@parallels999
Copy link

jqGrid 4.13.4

Current is v5.8.5

@ishantvivek
Copy link
Author

ishantvivek commented Sep 13, 2023

@parallels999
The latest version is even a big mess:

image

@parallels999
Copy link

parallels999 commented Sep 13, 2023

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/

@tonytomov
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants