Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

I have a Sortable with an onMove method that returns false in some circumstances. How can I change the cursor to "not-allowed" when it returns false, so it is clear to the user that they ...
hobbes_child's user avatar
0 votes
0 answers
82 views

I'm building an admin menu manager with Laravel Livewire and SortableJS. The drag-and-drop UI works perfectly but I can not reorder menus and nested submenus visually. I have a recursive function in ...
MicroWeb Technology Ltd's user avatar
0 votes
1 answer
82 views

When my sortablejs has an table of 2000+ records it gets realy slow and the page gives me the option to wait or close tab. But this table is used by clients(in need of an good UX) so this cant happen ...
oelimoe's user avatar
  • 445
0 votes
1 answer
37 views

I am having trouble to change my sortablejs settings after its set. The initialization of this function is done within an other script(this script may not change) and is done when the page is loaded. ...
oelimoe's user avatar
  • 445
0 votes
0 answers
86 views

I am using SortableJS to implement a ranking system for users. When I drag and drop an item (for example, moving rank 3 to rank 4), the image that follows the cursor does not update its background ...
Matrix's user avatar
  • 3,395
0 votes
1 answer
52 views

I am working on a drag-and-drop form customizer where users can add, reorder, and remove fields using Alpine.js and Sortable.js. However, I am encountering two issues that I cannot seem to fix: ...
R. Elavarasan's user avatar
1 vote
1 answer
156 views

I have been trying to get SlickGrid to work, first in a svelte application, and then in a Vanilla Javascript one for testing, both built with Vite and where Slickgrid is installed via npm. Even though ...
awnine's user avatar
  • 163
0 votes
0 answers
63 views

I'm building a checklist app for fun and I'm trying to use sortable.js with python django. I can make a sortable list work in this example with the html as follows {% extends 'BJJApp/base.html' %}...
Ystan's user avatar
  • 117
0 votes
0 answers
39 views

I am using sortable js The issue occurs because the filterValue state you use for the search functionality applies a hidden class to the drag source items, but this hidden state affects the dropped ...
Jerin Stephen's user avatar
0 votes
1 answer
165 views

I try to list files selected using multiple file input using the code below (also available at jsbin). When trying to move li items to sort and nest them, they start flickering and sometimes are ...
Mohammad Qodrati's user avatar
2 votes
1 answer
55 views

Is there a way to define the ratio between the width of ranked list (drag from here narrow, to here wider) that are horizontally aligned? Can we adjust/reduce the space between the two lists? Example ...
ava's user avatar
  • 1,026
-3 votes
1 answer
55 views

how I can update current position element, after get this information from server? I have array with elements, and store method, but after render component I can't reorder elements in list, only ...
Vadim Paramonov's user avatar
1 vote
1 answer
119 views

I'm new to using SortableJS, so I'm not sure if this is by design or if I'm doing it wrong. I can drag elements to be children of elements that already have at least one child element, but I cannot ...
James's user avatar
  • 870
0 votes
1 answer
619 views

I'm having trouble sorting my nested JSON layer tree using SortableJS in an Alpine.js application. I have a complex JSON structure representing layers, which can be nested multiple levels deep. My ...
Michael Schwartz's user avatar
0 votes
0 answers
142 views

I am using SortableJS to implement drag and drop for a todo app. Sample structure like so: List 1: - Item - Item - Item List 2: - Item a - Item b - Item c To make list drags more effective, I would ...
Farooq's user avatar
  • 159
1 vote
1 answer
143 views

I'm trying to write a UI where a user can categorize values by pulling from a bucket list on the left to different bucket lists on the right. To name the categories, there is a textInput on top of ...
Lukas Tilmann's user avatar
0 votes
2 answers
721 views

I have an AlpineJS UI which allows an editor to add style rules or groups of style rules (it's not really important what these are but I've kept the concept so as to differentiate from a more simple ...
Dan's user avatar
  • 6,040
0 votes
1 answer
395 views

I use the following library: https://github.com/SortableJS/Sortable I have 2 lists where I can dragg one element to the other list. But When i dragg the item its a clone of the icon. What I am trying ...
Riccoh's user avatar
  • 403
0 votes
1 answer
196 views

I have a problem that when I use react-sortablejs with local images, the src to image is not display. The code: import { useState } from "react"; import axios from "axios"; import {...
revoxer's user avatar
  • 21
-1 votes
1 answer
125 views

I have a list of items, which contains couple items with a class name disabled. When dragging items, those "disabled" elements should stay fixed and should not move or being pushed. What is ...
aspirinemaga's user avatar
  • 3,967
0 votes
0 answers
175 views

REPL I am trying to create sections and rows with SortableJS in svelte. I want to be able to reorder sections, reorder rows within sections, and drag rows to new sections. I cannot figure out how to ...
ethanfox27's user avatar
2 votes
1 answer
572 views

I have a dialog box, and inside that dialog, I have a list of items, every list item can be dragged and sort UI accordingly. It works perfectly in Chrome and Firefox, but in Safari, when I dragged the ...
saud saleem's user avatar
1 vote
0 answers
192 views

I'm not understanding how to cancel a sort. If I drag outside the target area or hit the escape key while dragging, there is an animation that has the draggable return to original position. But the ...
lschult2's user avatar
  • 450
1 vote
1 answer
61 views

I am using the R package sortable in a Shiny App in a similar way as described in this SO post, with the aim of drag-and-dropping values from one "source" rank_list to a "destination&...
mazu's user avatar
  • 327
0 votes
1 answer
77 views

I'm using a SortableJs on a list composed from items, which contains fixed elements. I would like the fixed elements to stay in the same place. They should not be dragged around, nor being reordered/...
aspirinemaga's user avatar
  • 3,967
2 votes
2 answers
1k views

I'm trying to get the type (in a typescript sense) of a change event from Vue.Draggable https://github.com/SortableJS/Vue.Draggable but can't find its definition the documentation shows that the event ...
Mathieu's user avatar
  • 33
0 votes
1 answer
59 views

I have a knockout application, where I have a list of divs for a knockoutobservablearray. After I move an item to a new position. How do I update the knockoutobservablearray to reflect the changed ...
user1561196's user avatar
0 votes
0 answers
438 views

Installed via bun add htmx.org bun add v1.0.1 (31aec4eb) installed [email protected] 1 packages installed [2.40s] Imported with import "htmx.org"; Used it in htmx.onLoad(function(content) { ...
bear's user avatar
  • 1
1 vote
0 answers
123 views

i have a rails app and it contains stripe for payment, my console shows Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://js.stripe.com ') does not match the ...
uma's user avatar
  • 63
1 vote
0 answers
691 views

i want to have drag and drop sortable layout for my bootstrap cards. i did dowith sortable jquery plugin but it is draging and droping in a row. i want that if i have card 1 that is bigger height col-...
mandm123's user avatar
0 votes
0 answers
167 views

I'm using the sortablejs library to enable the reordering of my list and to save the order in the local storage. I use console.log to check what happens during the 'get' and 'set' sections, and they ...
dest3's user avatar
  • 1
1 vote
1 answer
1k views

I am using Vue2 with Vuetify and I have a two dimensional grid of buttons. <v-row> <v-col cols="6" v-for="item in itemList" :key="item.id"> <v-btn ...
nerfherder616's user avatar
1 vote
1 answer
431 views

Is there a way to lock or disable an item in ReactSortable / SortableJS? I want the last item (input in this case) to not be part of the draggable items. In principle the code looks something like ...
Arno van Oordt's user avatar
2 votes
1 answer
1k views

I'm new to svelte and am working on a simple drag and drop list using sortablejs as the base. I load the data from a nested array of objects to instantiate the lists, and want any changes from ...
Matt Thornton's user avatar
0 votes
0 answers
256 views

I'm using the Sortablejs library for the drag/ drop/ reorganize feature and I'm having trouble setting id's on a dynamic list on start up. I am able to set numbered id's to be used for indexing after ...
yahooNGMI's user avatar
0 votes
1 answer
574 views

I have a similar problem as the one shown in this Svelte REPL. If I create a sortablejs object in a Svelte project from a dynamic list (that means a list created with {#each...} logic blocks from a ...
Sylcha's user avatar
  • 43
2 votes
1 answer
179 views

This is my shiny app using the sortable package for drag and drop: library(shiny) library(imola) library(sortable) line_chart <- ggplot(mtcars, aes(mpg,cyl)) + geom_line() bar_chart <- ggplot(...
Laura's user avatar
  • 759
1 vote
0 answers
219 views

The normal behavior of the Vue.Draggable is to sort/move the elements while they are being dragged. I want to disable this and sort only once the element is dropped somewhere. For a visual ...
Ivo Mitev's user avatar
1 vote
1 answer
89 views

I am trying to add a rank_list from the sortable library in a Shiny application. This seems to work fine if the input is in the fluid page part of the UI. When I add it to a shinyalert() or a modal, ...
shbshk's user avatar
  • 72
1 vote
0 answers
255 views

I am working on a project where I use cards on a page. These cards are slidable and sortable between each other (Angular 15 + SortableJS + Swiper). After opening the page everything works fine, but ...
Josef Zemánek's user avatar
0 votes
0 answers
399 views

I have a problem with react-sortable-js. I want to create a component that will handle two type of item category and item. I deal with the following scenario Move item J, as a nested item, to section ...
mxcdh's user avatar
  • 1,201
0 votes
1 answer
295 views

I am trying to implement virtualization with react-sortablejs for lists with more than 500 items. I have tried with react-virtuoso, but react-sortablejs wraps the entire react-virtuoso component as a ...
Nameer Muhammad's user avatar
1 vote
1 answer
125 views

I'm trying to figure out how to add interactive features in a bar chart. Now I'm stuck about program fuctions for a click action using a button to sort ascending and descending. This is my code: const ...
Chaviting's user avatar
1 vote
2 answers
5k views

I'm using Vue.Draggable to implement drag and drop sorting on a table element. Some of the draggable elements in the table are quite tall (tbody tags with many rows), so I would like to reduce the ...
DMack's user avatar
  • 959
0 votes
1 answer
423 views

I'm working in a Nuxt JS 2.x project that has Vue Draggable 2.24.3 I have a page where I have two draggable lists as part of a custom component called DraggableList My DraggableList component is the ...
Ryan H's user avatar
  • 3,063
0 votes
1 answer
97 views

I have a shiny app where the user uploads a csv file. Then, using the column names from the csv file, I create sortable bucket list. I would like drag the column name from the first rank list and have ...
Oliver Oliver's user avatar
0 votes
1 answer
668 views

I keep getting this error: Failed to resolve module specifier "sortablejs". Relative references must start with either "/", "./", or "../". This is my JS code ...
Hameed Ayoola's user avatar
1 vote
1 answer
38 views

I have a 99% working minimal example here. The only thing I would like to change is to have the rank number next to the letter rather than on the line above it. library(shiny) library(sortable) ...
Justin's user avatar
  • 163
1 vote
1 answer
3k views

How to sort columns table with sortable.js library? https://sortablejs.github.io/Sortable/ I set sortable_container(sortable_emploees id) on tr attribute. And that's works fine. But how to sort at the ...
Mateusz Białowąs's user avatar
1 vote
1 answer
731 views

I have an Array composed of Objects, such as : const items = [ { id: 0, title: 'Object 1', sort: 0 }, { id: 1, title: 'Object 2', sort: 1 }, { id: 2, title: 'Object 3', sort: 2 }, { id:...
Cyril N.'s user avatar
  • 40.1k

1
2 3 4 5