Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By nadobii
a user should be able to sort a grid based on a specified field (every column) in ascending or descending order in dynaform, i want to have ascending and descending icons on the top of columns and use them for sorting:
13.png (11.59 KiB) Viewed 462 times
thanks for your guidance
User avatar
By amosbatto
You can do sorting in grids with JavaScript:

If you want to sort a table of data with arrows in the column headers, then you can use datatables or paramquery in a panel.
By nadobii
thanks, the first solution is ok,
but i can't use paramquery in my grid :(
can you please explain in detail about this?
thanks for your consideration
User avatar
By amosbatto
nadobii wrote: Fri Aug 16, 2019 5:46 pm but i can't use paramquery in my grid :(
can you please explain in detail about this?
You have to create a Panel control in your Dynaform and put the table of data inside the panel. You can save the data as a JSON string in a hidden field inside your Dynaform.
I don't have any examples right now that I can share.
By nadobii
thanks for your help.
I will be so appreciated if you explain and share an example about this in a right time.
Task doesnt have any users.

Amosbatto: One more thing if you can help me with.[…]

Just guide me to implement this?

Hi, I have a text control (rfq_segment) and I wan[…]

Genial!!! gracias. :D i need to translate an[…]