SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

slickgrid event drag support for jquery > 3.0

Open dhesru opened this issue 4 years ago • 9 comments

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?

dhesru avatar May 20 '21 04:05 dhesru

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?

6pac avatar May 20 '21 06:05 6pac

@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.

dhesru avatar May 21 '21 06:05 dhesru

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/

6pac avatar May 21 '21 07:05 6pac

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

Ramsankar002 avatar Dec 20 '21 07:12 Ramsankar002

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

6pac avatar Dec 20 '21 07:12 6pac

Thank you very much @6pac . It worked

Ramsankar002 avatar Dec 20 '21 08:12 Ramsankar002

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

dheerajd-msys avatar Apr 03 '23 05:04 dheerajd-msys

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

6pac avatar Apr 03 '23 06:04 6pac

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

Rimpy9 avatar Dec 22 '23 05:12 Rimpy9