Change order of input field on a editable list

  • 16 December 2021
  • 3 replies
  • 39 views

Hello,

is it possible to change the order of a editable list view? I would like to have the input fields on the top and not on the bottom of the list.

Thank you

Sigrid

21073iB6FF91073C913B73.png

 


3 replies

Userlevel 2
Badge +10

Hi sigi,


 


It sounds like grid control is what you are after in this scenario, please upvote the following idea. I would recommend taking this opportunity to submit additional feedback for our product team via https://nintex.uservoice.com link.


 


 


 

Userlevel 3
Badge +9

You can do it in jquery:


 


$('table.grid-content-table').find('tbody').prepend($('tr.action-row')); 


 


On a literal data label will move it to the top, however from my super limited testing you'll need to clear the data label and transfer that function again after you do any kind of action that commits data or modifies the grid in any way.


 


Cheers

Userlevel 3
Badge +9

The data label will actually need to contain a wrapping script tag.


 


<script type="text/javascript">$('table.grid-content-table').find('tbody').prepend($('tr.action-row'));</script>


 


Store it in a function, the have an unbound rule that transfers the value of the function to a data label then another data transfer to clear the data label.


 


You can then call that rule whenever you need to move the add row back to the top


 


Cheers

Reply