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 420 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.

I have created a small process. Users are assigned[…]


Just trying to setup to use the mobile App with my[…]

It's really a great idea. I have followed the seco[…]

yes i use php thanks for the information