Welcome, Guest
Please Login or Register.    Lost Password?

Filtering out columns based on the client's choice
(1 viewing) (1) Guest
This is the optional Forum header for the Suggestion Box.
Go to bottomPage: 12
TOPIC: Filtering out columns based on the client's choice
#266
Re:Filtering out columns based on the client's choice 7 Months ago Karma: 0
Offering this option would be great, but I'm not quite sure how (your help is unbelievably appreciated).

I clicked on "Show Search Form" in the admin side to Grid. But where would I put the search function?

Am I coding in php to get this to work? If so, where would I link a form to choose to the actual grid? Where is the relevant grid code located in my folders?
sdwek
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#270
Re:Filtering out columns based on the client's choice 7 Months ago Karma: 0
sdwek wrote:
Offering this option would be great, but I'm not quite sure how (your help is unbelievably appreciated).

I clicked on "Show Search Form" in the admin side to Grid. But where would I put the search function?

Am I coding in php to get this to work? If so, where would I link a form to choose to the actual grid? Where is the relevant grid code located in my folders?


You need to find the function "searchForm" in GridBuilder.php.

You need to add a button there where "onClick" you will call a function. You need to write this function in a javascript file.

You may use "style.display" with elements. style.display take values like none, table-cell, etc.
icenick
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting