Hey there... Is there an 'easy' way to move a row up or down within a table? So moving row 1 to row 2 etc.
I could probably mash something together but it would be ugly and if there's already a good way of doing it then i'd rather that first.
| SitePoint Sponsor |

Hey there... Is there an 'easy' way to move a row up or down within a table? So moving row 1 to row 2 etc.
I could probably mash something together but it would be ugly and if there's already a good way of doing it then i'd rather that first.


there is no way at all to do it, sorry
the reason is that rows in a table have no position or sequence
Yeah, what you are asking is odd. You could add an OrderIndex field and sort by it to ensure they get returned in the sequence you want.

Thanks for the replies![]()
Bookmarks