Reorder Rows via Drag & Drop

28 views
Skip to first unread message

Shuki Birshan

unread,
Aug 25, 2025, 6:08:18 AM (12 days ago) Aug 25
to Migrated By Firefly
Hi, 

I want to allow my users to be able to reorder grid rows by dragging a row up and down the grid.

can this be done with firefly's grid ? 
If so, 
a code sample will be great.

Thanks,
Shuki

Lawrence Fisher

unread,
Aug 25, 2025, 6:52:39 AM (12 days ago) Aug 25
to Shuki Birshan, Migrated By Firefly
Aren’t the rows displayed by some kind of index?

Perhaps add your own index, a numeric one and then when you drop to the row, you change the indices of all subsequent rows by 1 

Sent from my iPhone

Lawrence

On 25 Aug 2025, at 13:08, Shuki Birshan <subirs...@gmail.com> wrote:

Hi, 
--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/5644318b-bcb5-461e-bdaa-fca6efaee22cn%40googlegroups.com.
Message has been deleted

Shuki Birshan

unread,
Aug 27, 2025, 5:13:08 AM (10 days ago) Aug 27
to Migrated By Firefly

Hi Lawrence

I think I didn’t explain myself clearly.
I don’t really have a problem with handling the logic of reordering rows based on an index or updating the data source accordingly.

My question was more about the visual interaction itself.
Specifically, whether the control supports some kind of drag-and-drop animation for rows—similar to what you often see on the web—where the user can “grab” a row, drag it up or down, and the grid visually updates in real time.

In other words, I’m asking if the control has any built-in support for this animated drag-and-reorder behavior, or if it would need to be fully implemented manually.


ב-יום שני, 25 באוגוסט 2025 בשעה 13:52:39 UTC+3, Lawrence כתב/ה:

Noam Honig

unread,
Aug 27, 2025, 5:14:56 AM (10 days ago) Aug 27
to Shuki Birshan, Migrated By Firefly
There is no such built in animation

Noam Honig  
Founder & CEO


Lawrence Fisher

unread,
Aug 27, 2025, 12:49:23 PM (10 days ago) Aug 27
to Shuki Birshan, Migrated By Firefly
Seeing as how there is nothing built in, ask gpt or Claude and let us know 
Sent from my iPhone

Lawrence

On 27 Aug 2025, at 12:13, Shuki Birshan <subirs...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages