'save the data position after draging it using reactsortable?
the element comeback to the origin position when I refresh the page after I making drag using rectsortable
<Reactsortable>
tag = {customComponent}
list = note_book.note_list
groub = "GroubNaame"
setlist={(newstate)=> var data = (this.state.note_book_list[i].note_list= newState};
this.setState({data})
this.note_sortable_save()
}}
className="botes_wraper"
>
how can I save the changes
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
