This came in clutch today. Was attempting my own thing with sortableJs and so thank you!
@KevinN-u5d6 ай бұрын
Anyway to incorporate a Datagrid row (either from Msoft's Quickgrid or another) into the SortableItemTemplate?
@SamuelSidor3 ай бұрын
There is a fork of this functionality from AlexNek called BlazorSortableList and it works also with nested lists
@Hallo5037 ай бұрын
great stuff!
@vietkhanhhoang165 ай бұрын
how can i extract the index of an item in the list?
@cbradbaer6 ай бұрын
Has anyone tried to use SortableJS in Maui Blazor? I have it working on the Windows platform. But can't get sorting to work on any other platform. The javascript breaks when it gets to this line: component.invokeMethodAsync('OnUpdateJS', event.oldDraggableIndex, event.newDraggableIndex);
@SamuelSidor3 ай бұрын
I have tried it in our MAUI Blazor project and it works correctly. I have used nuget package: AlexNek/BlazorSortableList
@mtranchi4 ай бұрын
Awesome, ty!
@watershedmetal27 ай бұрын
Epic, would this work with nested lists?
@SamuelSidor3 ай бұрын
There is a fork of this functionality: AlexNek/BlazorSortableList and it works also with nested lists
@marklnz7 ай бұрын
Looks good but I hate that it's 100% JavaScript. Kind of defeats the purpose of using Blazor, no?
@JamesMontemagno6 ай бұрын
Well the component logic is an invoke to the javascript library, that is the point of the component so it is in C# :)
@mtranchi4 ай бұрын
Lol, once the component is built, it's 100% C# to use.