Move Table Rows Up/Down

I am using a power table component which is connected to a database table.
Is there a way to move selected rows up and down using buttons?


In vision, the power tables have selectedColumn and selectedRow properties you can manipulate with scripts

I assume you’re using a query to populate your data, in which case the order of rows is determined by your select query. You can manipulate this dataset in script, but it will revert back to the query order whenever the query is executed again. To fix that, you’ll most likely need to add a new order field to your sql table and update that

1 Like

I didn’t even read the question that way, I guess I miss interpreted. I’ve done this before like @nminchin suggested, I used a priority column to allow the re-ordering of the data.