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?

Server Side Pagination Sort by Calcualted Column
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Server Side Pagination Sort by Calcualted Column
#42844
Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 5
Hi,

is it possible to sort an ARI Data Table (server side pagination enabled) by a calculated column.

I am able to get the table to sort on load and continue to load properly by selecting any of the pagination numbers by using

Code:

ORDER BY (a-b+c) DESC


in the SQL query.

The problem occurs when you try to sort the same table by clicking the Column Header name of the calculated column. This results in "No matching records found"

Thanks

trevor
The administrator has disabled public write access.
 
#42846
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 760
Hello,

It is not possible when "Server side pagination" is enabled.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42969
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 5
Are you able to add something like this as a custom project?
The administrator has disabled public write access.
 
#42985
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 760
Do you want to use "ORDER BY" in your query to set default sorting and then change it when a user click by column name in a table?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#42997
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 5
I can use "ORDER BY" within a query but would prefer to specify the 'Column Index' along with 'Sorting Type' of the column within the module parameters 'Column Settings'. Once the table is loaded on the user side, they would then be able to click a column heading of a calculated column and have results displayed
The administrator has disabled public write access.
 
#43015
Re:Server Side Pagination Sort by Calcualted Column 11 Years, 4 Months ago Karma: 760
Could you provide a sample of SQL query which you want to use?

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12