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

slickgrid event drag support for jquery > 3.0 #1220

Open
dhesru opened this issue May 20, 2021 · 9 comments
Open

slickgrid event drag support for jquery > 3.0 #1220

dhesru opened this issue May 20, 2021 · 9 comments

Comments

@dhesru
Copy link

dhesru commented May 20, 2021

An update to jquery version to 3.0.0 and above, does not seem to support jquery.event.drag-2.2.js . Is there any workarounds/alternative libraries to achieve this?

Will there be an update on jquery.event.drag-2.2.js to be compatible with jquery 3.0.0?

@6pac
Copy link

6pac commented May 20, 2021

As far as I'm aware, 2.2 is compatible. Originally we had 2.1 and that was updated specifically for recent versions of jQuery. What are you having problems with?

@dhesru
Copy link
Author

dhesru commented May 21, 2021

@6pac , on jQuery 3.5.1 the slickgrid's table column expansion functionality is not working as expected.
E.g. Table column becomes distorted when expanding.

@6pac
Copy link

6pac commented May 21, 2021

apologies, I didn't notice this was on the original MLeibman branch. This repo has been DEAD for some time.
Please use: https://github.com/6pac/SlickGrid/wiki
This will solve all your issues.

Or GhisCoding also has a number of extensions of the basic grid: https://github.com/ghiscoding/

@Ramsankar002
Copy link

The same issue arises for me . How can I fix the solution for Uncaught TypeError: Cannot set properties of undefined (setting 'touchcancel') at jquery.event.drag-2.2.js:382 at jquery.event.drag-2.2.js:402 as I updated the version from 1.11.2 to 3.6.0

    $event.fixHooks.touchcancel = {                                                         --> 382

props: "clientX clientY pageX pageY screenX screenY".split( " " ),
filter: function( event, orig ) {
if ( orig ){
var touched = ( orig.touches && orig.touches[0] )
|| ( orig.changedTouches && orig.changedTouches[0] )
|| null;
// iOS webkit: touchstart, touchmove, touchend
if ( touched )
$.each( touchHooks.props, function( i, prop ){
event[ prop ] = touched[ prop ];
});
}
return event;
}
};

// share the same special event configuration with related events...
$special.draginit = $special.dragstart = $special.dragend = drag;
})(jQuery); -->402
Screenshot edit

@6pac
Copy link

6pac commented Dec 20, 2021

@Ramsankar002 please see my above comment. This repo is long dead. Please use the current one.

@Ramsankar002
Copy link

Thank you very much @6pac . It worked

@dheerajd-msys
Copy link

Running into same issue, @Ramsankar002 could you please tell me how you resolved this?

@6pac
Copy link

6pac commented Apr 3, 2023

@dheerajd-msys please see my above comment. This repo is long dead. Please use the current one.

@Rimpy9
Copy link

Rimpy9 commented Dec 22, 2023

Hello @dheerajd-msys Same issue i faced when i updgrad the juery please help me about steps wht you follow.

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

5 participants