mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

slickgrid event drag support for jquery > 3.0 #1220

Open dhesru opened 3 years ago

dhesru commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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

Ramsankar002 commented 2 years ago

Thank you very much @6pac . It worked

dheerajd-msys commented 1 year ago

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

6pac commented 1 year ago

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

Rimpy9 commented 6 months ago

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