You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have 2 arrays. You can drag items from one to the other if a condition is satisfied. The condition is checked in beforeMove; it it is not satisfied, cancelDrop will be set. Works fine.
If I set the connectedClass option on the first array, and specify this class in my css file,
the background of the table column that holds the array list, is now reformatted according
to the css. However, it's not possible to drop elements onto the 2nd array anymore.
The css class is simply:
.connectedSortable {
background:brown;
}
In my opinion, setting a css class should not change the behaviour of the page. Only javascript should change the behaviour.
what are we missing?
The text was updated successfully, but these errors were encountered:
We have 2 arrays. You can drag items from one to the other if a condition is satisfied. The condition is checked in beforeMove; it it is not satisfied, cancelDrop will be set. Works fine.
If I set the connectedClass option on the first array, and specify this class in my css file,
the background of the table column that holds the array list, is now reformatted according
to the css. However, it's not possible to drop elements onto the 2nd array anymore.
The css class is simply:
.connectedSortable {
background:brown;
}
In my opinion, setting a css class should not change the behaviour of the page. Only javascript should change the behaviour.
what are we missing?
The text was updated successfully, but these errors were encountered: