Hello,
I was trying to experiment with your nugget package and I wasn´t able to set reorder of items just vertically. Is it possible?
- I tried to check code and I didn´t find binding between your C# code and JS that allows this.
If it is missing, do you think about implementation? If no, do you think it will be hard to implement it?
As i briefly went through code, it needs to be added to the c# options, and link this option with JS through invoke and set direction to "vertical" as official documentation shows.
From official documentation of JS lib.
Direction that the Sortable should sort in. Can be set to 'vertical', 'horizontal', or a function, which will be called whenever a target is dragged over. Must return 'vertical' or 'horizontal'.
Hello,
I was trying to experiment with your nugget package and I wasn´t able to set reorder of items just vertically. Is it possible?
If it is missing, do you think about implementation? If no, do you think it will be hard to implement it?
As i briefly went through code, it needs to be added to the c# options, and link this option with JS through invoke and set direction to "vertical" as official documentation shows.
From official documentation of JS lib.
Direction that the Sortable should sort in. Can be set to 'vertical', 'horizontal', or a function, which will be called whenever a target is dragged over. Must return 'vertical' or 'horizontal'.