Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Columns settings sort function not working
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Columns settings sort function not working
#47914
Columns settings sort function not working 10 Years, 9 Months ago Karma: 0
I am trying to sort by two columns, for some reason the sort does not show in the article. Please see the SQL query and the Columns settings below:

SELECT `SCHEDULE DATE`, `AM/PM`, `MILL`, `work order #`, `TRACTOR`, `TRAILER`, `SERV VEH`, `TANK TRUCK`, `CREW CHIEF`, `CREW1`, `CREW2`, `CREW3`, `CREW4`, `WRKORDCELL#`, `TRANSPORT`, `MOB DAY` FROM `tse_schedule`


# Column index Sorting type Sorting order
1. SCHEDULE DATE Date Ascending
2. AM/PM String Ascending

The data shows correctly but I don't have the sorting correct.
The administrator has disabled public write access.
 
#47916
Re:Columns settings sort function not working 10 Years, 9 Months ago Karma: 760
Hello,

Use settings like on the screenshot below:



Regards,
ARI Soft
The administrator has disabled public write access.
 
#47918
Re:Columns settings sort function not working 10 Years, 9 Months ago Karma: 0
Still isn't sorting correctly, but did make a change. I would like to sort by date then am or pm.
The administrator has disabled public write access.
 
#47921
Re:Columns settings sort function not working 10 Years, 9 Months ago Karma: 760
Could you provide a link to a page where we can see the problem?

PS: You can specify default order directly in the query. It will look like:

SELECT `SCHEDULE DATE`, `AM/PM`, `MILL`, `work order #`, `TRACTOR`, `TRAILER`, `SERV VEH`, `TANK TRUCK`, `CREW CHIEF`, `CREW1`, `CREW2`, `CREW3`, `CREW4`, `WRKORDCELL#`, `TRANSPORT`, `MOB DAY` FROM `tse_schedule`
ORDER BY `SCHEDULE DATE`,`AM/PM`

Regards,
ARI Soft
The administrator has disabled public write access.
 
#47924
Re:Columns settings sort function not working 10 Years, 9 Months ago Karma: 0
Ok, I think I found what it was.... I had the Save state turned on which was saving the sort when the page was viewed...... Wonderful Product though, thanks so much for your help.
The administrator has disabled public write access.
 
Go to topPage: 1