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?

Datatable filtering question
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Datatable filtering question
#56447
Datatable filtering question 8 Years, 11 Months ago Karma: 0
Hi,

I just purchased the ARI Data Tables module, and it has met every requirement that I was looking for. However, for some added functionality that is mostly cosmetic - I was wondering if you can add a filter to the column (especially for ranges).

My table looks like...
table name: student_rutgers
attributes: name, ruid, gpa, campusPermit, carManufacturer

I want to be able to select from a drop down for instance... Honda, and have only records that match that carManufacturer.

*EDIT* Also would like to be able to be able to drop down on the gpa column and be able to select ranges (i.e. 2 through 2.5, 2.5 through 3, etc.)

Right now in the SQL query I just have:
SELECT *
FROM student_rutgers

Thank you in advance!
-Adam
Last Edit: 2015/12/08 19:05 By adfend.
The administrator has disabled public write access.
 
#56452
Re:Datatable filtering question 8 Years, 11 Months ago Karma: 760
Hello,

The extension doesn't support ability to create a separate filters for each column, but it supports ability to use request variables in WHERE clause of SELECT SQL query. For example it is possible to create a HTML form outside a table with filter parameters and use them in the query. For example if want to use categoryId request variable in a query, it will look like:

SELECT
id,
title
FROM
table
WHERE
cat_id = {$REQUEST:categoryId}

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