I have a datagrid in which i can sort by drag and drop. Now when I sort by header and then try to sort by drag and drop it doesnt work properly anymore.
I guess that the sorting by drag and drop is not working because the sorting by header interrupts it. Is there any way how to undo the sorting in a datagrid?
I know I can set the sortableColumns to false, but I would like to have both opportunities to sort by header and by drag n drop.
Set sort property of your DG's Dataprovider to null temporarily and assign again when to want to do sorting with header.
Check these link.
If this answers yours question mark accordingly.