swapping buttons in data grid

0
Hello mendix experts.  I am trying to create microflows for the buttons for "swapping" of records in data grid. For example.   Question 1 Question 2 Question 3   After double click on button in 3th record. The result should look like this.   Question 3 Question 1 Question 2   Do you have any idea? Thanks a lot. Ondrej
asked
1 answers
0

Hi Ondrej,

you would need to save the order by adding an attribute to your entity which contains the position value. Then you can sort the objects using the position value and update the values according to your defined logic.

answered