34
Views
3
Comments
[Drag and Drop Sortable Table] Error type: $(...).sortable is not a function - Library conflicts?
drag-and-drop-sortable-table
Reactive icon
Forge asset by Gerald Emmanuel Malaca
Application Type
Reactive
Service Studio Version
11.54.60 (Build 63294)

Hello all,

I have this question related to the error type: $(...).sortable is not a function

 I am trying to use 2 different widgets:

  1. Drag and drop Sortable table
  2. CK Editor

When the Drag And Drop Sortable table is used alone, it works perfectly fine. However, when I add the CK Editor to the application, which leads to the errors:

  1. Drag and drop sortable table does not work any more (table row can not be dragged)
  2. Error message as: $(...).sortable is not a function 

I think this error is maybe due to the library conflict between these 2 widgets, which all have the script jquery, but I don’t know how to inspect and fix this one. (I tried to remove the Jquery from CK Editor, but it did not work) 

Please advise me on this error. Thank you.

UserImage.jpg
Afaque Shaikh

Hi @Cuong Tran ,

Could you please share the OML so it will be easier for to debug and fix this issue.
You are correct, there might be a chances of conflicting the JS .

Thanks,
Afaque Shaikh


UserImage.jpg
Cuong Tran

Hi @Afaque Shaikh 

Thank you for you kind reply, unfortunately I cannot share the OML file.

I guess the issue can be fixed if we can get to JS script jquery of either CK Editor or DragAndDropSortableTable, but I don't know how to do that (or allow to do that).

Best regards,

2023-08-07 06-06-09
Vaibhav Gijre

Hi @Afaque Shaikh ,

I am facing the same issue. I have attached oml file.

DragAndDropSortableTableDemo.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.