This topic is locked

Reorder table rows with drag & drop inside ancestor ID

3/15/2022 2:23:40 PM
ASPRunner.NET General questions
E
erosolmi author

Hi,

I have one to many relationship tables: Orders and OrdersLines.

I have the need to re-order OrdersLines with drag & drop but new sequence must be inside the same Order ancestor.
I mean:

  • order ID = 1, OrderLines should be sorted 1, 2, 3, ... inside ancestor ID 1
  • order ID = 2, OrderLines should be sorted 1, 2, 3, ... inside ancestor ID 2
  • ... and so on.

Is this possibile?

Thanks a lot
Eros

Sergey Kornilov admin 3/15/2022

No, this is not possible. It can only use end-to-end numbering.