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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

filtering table with "server side pagination" ON
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: filtering table with "server side pagination" ON
#41060
filtering table with "server side pagination" ON 11 Years, 1 Month ago Karma: 0
Hello,

I'm successfully using ARI Data Tables module with context filter.

Now the table has grown that big, that the "server side pagination" became necessary. But when it's turned "Yes", filtering stopped to work. Always gives "No matching records found". Column sorting stops to work too.

Do I do something wrong? How to get the filter working with server side pagination? Thank you.
Last Edit: 2013/05/21 08:41 By primarta.
The administrator has disabled public write access.
 
#41069
Re:filtering table with "server side pagination" ON 11 Years, 1 Month ago Karma: 748
Hello,

What SQL query do you use? It can be not compatible with "Server side pagination".

Regards,
ARI Soft
The administrator has disabled public write access.
 
#41074
Re:filtering table with "server side pagination" ON 11 Years, 1 Month ago Karma: 0
SELECT
`userid`,
CONCAT ('<img style="height:16px;width=16px;" src="media/com_ars/icons/',IF(`block`=0,'ok_small.png','locked_16.png'),'"/>') AS "state"
,CONCAT ('<img style="height:32px;width=32px;" src=".../assets/images/avatars/',IF (`avatar`='','_grey.gif',`avatar`) ,'"/>') AS "Avatar",
CONCAT('<a href="index.php?option=...',`userid`,'&lang=en">',`name`,"</a>") AS "Name",
CONCAT('<a href="mailto:',`email`,'">',`email`,'</a>') AS email,
`phonemobile` ,`city` AS "City",
FROM #__table1 t1 LEFT JOIN #__table2 t2 ON t1.`id`=t2.`userid` WHERE NOT `username` IN('admin') AND `published`=1 ORDER BY `userid` ASC

Thank you in advance for your comments.
Last Edit: 2013/05/21 14:45 By primarta.
The administrator has disabled public write access.
 
#41075
Re:filtering table with "server side pagination" ON 11 Years, 1 Month ago Karma: 748
"Server side pagination" doesn't work with "virtual" fields (like "state", "Avatar").

Regards,
ARI Soft
The administrator has disabled public write access.
 
#41076
Re:filtering table with "server side pagination" ON 11 Years, 1 Month ago Karma: 0
Thank you. Actually, it works OK except filtering. Means, it loads only the "visible" page, then you can walk on page by page.

But the filtering is a must) I need to be able to filter two or three fields of those ten; is there a way to set individual fields filters with "server side pagination" on? Thanks.
The administrator has disabled public write access.
 
#41077
Re:filtering table with "server side pagination" ON 11 Years, 1 Month ago Karma: 748
The extension doesn't support this ability when "virtual" fields are used in "SELECT" SQL query.

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