howto limit exforms:sort on load form only (block sort when user is typing)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

howto limit exforms:sort on load form only (block sort when user is typing)

jacques.meroti
Hello
I have an instance which is loaded with a few lines, (e.g. last name, first name)
the connected user can modify in the grid the last anme or first name.

My proble is that I used 
   <xforms:repeat nodeset="exforms:sort(./user, 'last_name', 'text', 'ascending')">
for the display, which means that everytime the user modifies (letter by letter) the last name, the sorting may change dynamically, resulting on the connected user typing in the wrong place, or loosing his way.

Is there a way to sort the grid on first load of screen and then block sorting while on "write mode" ?

thanks for any help.

Jacques

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: howto limit exforms:sort on load form only (block sort when user is typing)

Alessandro  Vernet
Administrator
For reference (for those finding this thread through a search), this question has been answered on Stack Overflow:

http://stackoverflow.com/questions/40404649/xforms-orbeon-how-to-limit-exformssort-on-load-form-only-block-sort-when-us

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Loading...